HTML Tags - Description and Syntax
<!DOCTYPE>
Purpose: Defines the document type
Syntax: <!DOCTYPE html>
<html>
Purpose: Root element of an HTML page
Syntax: <html>...</html>
<head>
Purpose: Container for metadata
Syntax: <head>...</head>
<title>
Purpose: Specifies the title of the document
Syntax: <title>Page Title</title>
<meta>
Purpose: Defines metadata
Syntax: <meta charset="UTF-8">
<link>
Purpose: Defines relationship between a document and an external resource
Syntax: <link rel="stylesheet" href="[Link]">
<style>
Purpose: Defines style information
Syntax: <style>...</style>
<script>
Purpose: Defines a client-side script
Syntax: <script>...</script>
<body>
Purpose: Defines the document's body
Syntax: <body>...</body>
<h1> to <h6>
Purpose: Defines HTML headings
Syntax: <h1>Heading 1</h1>
<p>
Purpose: Defines a paragraph
Syntax: <p>This is a paragraph.</p>
<br>
Purpose: Inserts a single line break
Syntax: <br>
<hr>
Purpose: Defines a thematic change
Syntax: <hr>
<a>
Purpose: Defines a hyperlink
Syntax: <a href="[Link]
<img>
Purpose: Defines an image
Syntax: <img src="[Link]" alt="Image">
<div>
Purpose: Defines a section or division
Syntax: <div>...</div>
<span>
Purpose: Defines a section in a document
Syntax: <span>...</span>
<ul>
Purpose: Defines an unordered list
Syntax: <ul><li>Item</li></ul>
<ol>
Purpose: Defines an ordered list
Syntax: <ol><li>Item</li></ol>
<li>
Purpose: Defines a list item
Syntax: <li>Item</li>
<table>
Purpose: Defines a table
Syntax: <table>...</table>
<tr>
Purpose: Defines a row in a table
Syntax: <tr>...</tr>
<th>
Purpose: Defines a header cell in a table
Syntax: <th>Header</th>
<td>
Purpose: Defines a cell in a table
Syntax: <td>Data</td>
<form>
Purpose: Defines an HTML form
Syntax: <form>...</form>
<input>
Purpose: Defines an input control
Syntax: <input type="text">
<button>
Purpose: Defines a clickable button
Syntax: <button>Click me</button>
<label>
Purpose: Defines a label for an <input> element
Syntax: <label for='id'>Label</label>
<select>
Purpose: Defines a drop-down list
Syntax: <select><option>Option</option></select>
<option>
Purpose: Defines an option in a drop-down list
Syntax: <option>Option</option>
<textarea>
Purpose: Defines a multiline input control
Syntax: <textarea></textarea>
<iframe>
Purpose: Defines an inline frame
Syntax: <iframe src="[Link]"></iframe>