0% found this document useful (0 votes)
2 views4 pages

HTML Tags With Details

This document provides a comprehensive list of HTML tags along with their descriptions. Each tag is defined with its purpose, such as <html> for the root element, <head> for metadata, and <body> for visible content. The document serves as a reference for understanding the structure and functionality of HTML elements.

Uploaded by

pebagat746
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
2 views4 pages

HTML Tags With Details

This document provides a comprehensive list of HTML tags along with their descriptions. Each tag is defined with its purpose, such as <html> for the root element, <head> for metadata, and <body> for visible content. The document serves as a reference for understanding the structure and functionality of HTML elements.

Uploaded by

pebagat746
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

HTML Tags and Their Descriptions

<!DOCTYPE> Defines the document type and HTML version.

<html> Root element of an HTML page.

<head> Container for metadata (title, scripts, styles, etc.).

<title> Specifies the title of the document.

<meta> Provides metadata such as character set, author, and description.

<link> Links external resources like stylesheets.

<style> Defines internal CSS styles.

<script> Defines client-side JavaScript.

<body> Defines the body of the document containing visible content.

<header> Represents introductory content.

<nav> Defines navigation links.

<main> Specifies the main content of a document.

<section> Defines a section in the document.

<article> Specifies independent, self-contained content.

<aside> Defines content aside from the main content.

<footer> Defines a footer for a document or section.

<h1> to <h6> Define HTML headings, <h1> is the highest and <h6> is the lowest.
<p> Defines a paragraph.

<br> Inserts a single line break.

<hr> Inserts a horizontal rule (thematic break).

<a> Defines a hyperlink.

<img> Embeds an image.

<strong> Defines important text.

<em> Defines emphasized text.

<mark> Highlights text.

<small> Defines smaller text.

<del> Defines deleted text.

<ins> Defines inserted text.

<sub> Defines subscripted text.

<sup> Defines superscripted text.

<ul> Defines an unordered list.

<ol> Defines an ordered list.

<li> Defines a list item.

<dl> Defines a description list.

<dt> Defines a term in a description list.


<dd> Describes the term in a description list.

<table> Defines a table.

<caption> Defines a table caption.

<tr> Defines a table row.

<th> Defines a table header cell.

<td> Defines a table cell.

<form> Defines an HTML form for user input.

<input> Defines an input control.

<textarea> Defines a multiline input control (text area).

<button> Defines a clickable button.

<select> Defines a drop-down list.

<option> Defines an option in a drop-down list.

<label> Defines a label for an <input> element.

<iframe> Defines an inline frame.

<div> Defines a division or a section.

<span> Defines an inline section in a document.

<canvas> Used to draw graphics via scripting (e.g., JavaScript).

<svg> Defines vector-based graphics.


<audio> Embeds sound content.

<video> Embeds video content.

<source> Specifies multiple media resources for media elements.

<track> Specifies text tracks for <video> and <audio>.

<embed> Embeds external content.

<object> Defines an embedded object.

<noscript> Defines content to display if scripts are not supported.

<details> Defines additional details the user can view or hide.

<summary> Defines a visible heading for a <details> element.

You might also like