# Basic HTML tags

Here are some of the most commonly used HTML tags:

**\<html>** - This is the root element of an HTML document. All other elements should be contained within this tag.

**\<head>** - This tag contains information about the document, such as the title of the page, metadata, and links to external resources.

**\<title>** - The title tag is used to specify the title of the document, which is displayed in the browser tab.

**\<body>** - The body tag contains the main content of the document, such as text, images, links, etc.

**\<h1> to \<h6>** - The heading tags are used to define headings on the page. **\<h1>** is the most important heading and \<h6> is the least important.

**\<p>** - The paragraph tag is used to define a paragraph of text.

**\<a>** - The anchor tag is used to create a link to another web page or a specific location on the same page.

**\<img>** - The image tag is used to embed images in the document.

**\<ul>** - The unordered list tag is used to create a list of items with bullet points.

**\<ol>** - The ordered list tag is used to create a numbered list of items.

**\<li>** - The list item tag is used to define each item in a list.

**\<div>** - The division tag is used to divide the document into separate sections, and can be used as a container for other HTML elements.

**\<span>** - The span tag is used to apply styles to small pieces of text, images, or other inline elements.

**\<br>** - The line break tag is used to insert a line break in the text.

**\<hr>** - The horizontal rule tag is used to insert a horizontal rule or a divider line.
