HTML Tags and Their Uses
<!DOCTYPE> : Defines the document type and version of HTML.
<html> : Root element of an HTML document.
<head> : Contains meta-information about the document.
<title> : Sets the title of the document (shown in browser tab).
<meta> : Provides metadata like character set, author, etc.
<link> : Links external resources like CSS.
<style> : Contains internal CSS styles.
<script> : Embeds or references JavaScript.
<body> : Contains the visible content of the document.
<h1> to <h6> : Header tags for defining headings from most to least important.
<p> : Defines a paragraph.
<br> : Inserts a line break.
<hr> : Inserts a horizontal rule (line).
<a> : Defines a hyperlink.
<img> : Embeds an image.
<video> : Embeds a video.
<audio> : Embeds audio content.
<source> : Specifies multiple media resources for media elements.
<track> : Provides text tracks for video and audio.
<ul> : Defines an unordered (bulleted) list.
<ol> : Defines an ordered (numbered) list.
<li> : Defines a list item.
<dl> : Defines a description list.
<dt> : Defines a term in a description list.
<dd> : Defines a description of a term in a description list.
<div> : Defines a division or section.
<span> : Defines a section in a document for styling.
<header> : Defines a header for a document or section.
<footer> : Defines a footer for a document or section.
<main> : Specifies the main content of the document.
<section> : Defines a section in a document.
<article> : Defines an article.
<aside> : Defines content aside from the main content.
<nav> : Defines navigation links.
<form> : Defines an HTML form for user input.
<input> : Defines an input control.
<textarea> : Defines a multiline text input control.
<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.
<fieldset> : Groups related elements in a form.
<legend> : Defines a caption for a <fieldset>.
<table> : Defines a table.
<caption> : Defines a table caption.
<tr> : Defines a row in a table.
<th> : Defines a header cell in a table.
<td> : Defines a cell in a table.
<thead> : Groups the header content in a table.
<tbody> : Groups the body content in a table.
<tfoot> : Groups the footer content in a table.
<em> : Defines emphasized text.
<strong> : Defines important text.
<small> : Defines smaller text.
<mark> : Defines marked/highlighted text.
<del> : Defines deleted text.
<ins> : Defines inserted text.
<sub> : Defines subscript text.
<sup> : Defines superscript text.
<code> : Defines a piece of computer code.
<pre> : Defines preformatted text.
<blockquote> : Defines a section that is quoted from another source.
<cite> : Defines the title of a work.
<abbr> : Defines an abbreviation or acronym.
<address> : Defines contact information.
<b> : Defines bold text.
<i> : Defines italic text.
<u> : Defines underlined text.