0% found this document useful (0 votes)
1 views2 pages

HTML Tags Table

The document provides a comprehensive overview of HTML tags and their functions, detailing the structure and elements used in an HTML5 document. It includes descriptions for various tags such as <html>, <head>, <body>, <header>, <footer>, and others, explaining their roles in web page construction. Each tag is accompanied by its opening and closing syntax for clarity.

Uploaded by

sohinikar54
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)
1 views2 pages

HTML Tags Table

The document provides a comprehensive overview of HTML tags and their functions, detailing the structure and elements used in an HTML5 document. It includes descriptions for various tags such as <html>, <head>, <body>, <header>, <footer>, and others, explaining their roles in web page construction. Each tag is accompanied by its opening and closing syntax for clarity.

Uploaded by

sohinikar54
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

Tag Description

<!DOCTYPE html> Declares the document type as HTML5.

<html> Root element containing the entire page.

</html> Closes the html document.

<head> Contains metadata and links.

</head> Ends the head section.

<meta> Defines metadata such as charset or viewport.

<title> Sets the browser tab title.

</title> Closes the title tag.

<link> Links external CSS files.

<body> Contains visible page content.

</body> Ends the body section.

<a> Creates a hyperlink.

</a> Closes the hyperlink tag.

<header> Defines header area.

</header> Ends header section.

<div> Generic block container.

</div> Ends div.

<nav> Navigation menu container.

</nav> Ends nav.

<ul> Unordered list.

</ul> Ends unordered list.

<li> List item.

</li> Ends list item.

<button> Clickable button.

</button> Ends button.

<main> Main content area.

</main> Ends main.

<section> Groups thematic content.

</section> Ends section.

<h1> Main heading.

</h1> Ends h1.

<h2> Subheading.

</h2> Ends h2.

<h3> Smaller heading.

</h3> Ends h3.

<p> Paragraph of text.

</p> Ends paragraph.


<figure> Wrapper for image + caption.

</figure> Ends figure.

<img> Embeds an image.

<figcaption> Caption for figure.

</figcaption> Ends figcaption.

<ol> Ordered list.

</ol> Ends ordered list.

<article> Independent content block.

</article> Ends article.

<hr> Horizontal rule divider.

<form> Form container.

</form> Ends form.

<label> Label for input.

</label> Ends label.

<input> Single-line input field.

<textarea> Multi-line text input.

</textarea> Ends textarea.

<footer> Footer section.

</footer> Ends footer.

<script> Contains JavaScript.

</script> Ends script.

You might also like