HTML Elements List

<html>
Root element of an HTML document
<head>
Contains metadata and links to resources
<title>
Defines the title shown in the browser tab
<meta>
Provides metadata (e.g., charset, viewport)
<link>
Links external resources like CSS
<style>
Embeds CSS styles
<script>
Embeds or links JavaScript
<body>
Contains the visible content of the webpage
<h1>
Main heading (largest)
<h2>
Subheading
<h3>
Smaller heading
<p>
Paragraph of text
<br>
Line break
<hr>
Horizontal line (divider)
<a>
Hyperlink
<img>
Displays images
<div>
Container for block-level content
<span>
Container for inline text or elements
<ul>
Unordered list (bullets)
<ol>
Ordered list (numbers)
<li>
List item
<table>
Defines a table
<tr>
Table row
<td>
Table data cell
<th>
Table header cell
<form>
Creates an input form
<input>
User input field
<label>
Label for form inputs
<button>
Clickable button
<textarea>
Multi-line text input