Thirty Common HTML Elements
- <html>
- Root element of the page
- <head>
- Contains metadata and resources
- <title>
- Page title shown in browser tab
- <meta>
- Page metadata (charset, description)
- <link>
- Link to external files (like CSS)
- <script>
- Embed or link JavaScript
- <body>
- Main page content
- <header>
- Top section of a page/section
- <nav>
- Navigation links
- <main>
- Main content area
- <section>
- Group of related content
- <article>
- Self-contained content
- <footer>
- Bottom of a page/section
- <h1>–<h6>
- Headings from largest to smallest
- <p>
- Paragraph
- <a>
- Link (anchor)
- <img>
- Image
- <ul>
- Unordered list
- <ol>
- Ordered list
- <li>
- List item
- <dl>
- Definition list
- <dt>
- Definition term
- <dd>
- Definition description
- <figure>
- Image or diagram with caption
- <figcaption>
- Caption for a figure
- <table>
- Table of data
- <tr>
- Table row
- <th>
- Table header cell
- <td>
- Table data cell
- <div>
- Generic block container