Introduction to HTML Tags

HTML (Hypertext Markup Language) uses tags to structure content on the web. 
Here are some common HTML tags:

1. Document Structure:

<!DOCTYPE html>: Defines the document type and version.
<html>: The root element of an HTML page.
<head>: Contains meta-information about the HTML document.
<title>: Sets the title of the HTML document.
<body>: Contains the content of the HTML document.
Document Structure - Text Formatting - Links and URLs - Lists - Images - Tables - Semantic Elements - Some common HTML tags

2. Text Formatting:

<h1> to <h6>: Headings (from largest to smallest).
<p>: Paragraph.
<br>: Line break.
<hr>: Horizontal rule.

3. Links and URLs:

<a href=”url”>: Anchor tag for creating hyperlinks.

4. Lists:

<ul>: Unordered list.
<ol>: Ordered list.
<li>: List item.

5. Images:

<img src=”image-url” alt=”description”>: Image tag.

6. Tables:

<table>: Defines a table.
<tr>: Defines a table row.
<th>: Defines a table header cell.
<td>: Defines a table data cell.

7. Forms:

<form>: Defines an HTML form.
<input>: Defines an input field.
<textarea>: Defines a multiline input field (textarea).
<button>: Defines a clickable button.

8. Semantic Elements:

<header>: Represents a group of introductory or navigational aids.
<nav>: Defines a set of navigation links.
<section>: Represents a generic section of an HTML document.
<article>: Represents an independent piece of content.
<footer>: Represents a footer for a section or page.

9. Metadata:

<meta>: Provides metadata about the HTML document.


 <!– This is a comment –>: Comments are not displayed in the browser.
These are just a few examples of HTML tags. HTML is versatile, and tags are combined to create the structure and style of a webpage. Each tag serves a specific purpose in organizing and presenting content.