This HTML tags list covers the most-used HTML elements grouped by purpose — document structure, text, lists, links and media, forms and tables. A quick reference for building web pages.
Structure
| Tag | Purpose |
|---|
| <html> | Root of the page |
| <head> | Metadata container |
| <body> | Visible content |
| <header> | Intro / banner |
| <nav> | Navigation links |
| <main> | Main content |
| <section> | Thematic section |
| <article> | Self-contained content |
| <footer> | Footer |
| <div> | Generic block container |
| <span> | Generic inline container |
Text
| Tag | Purpose |
|---|
| <h1>–<h6> | Headings |
| <p> | Paragraph |
| <a> | Link |
| <strong> | Important (bold) |
| <em> | Emphasis (italic) |
| <br> | Line break |
| <hr> | Thematic break |
| <blockquote> | Quotation |
| <code> | Inline code |
| <pre> | Preformatted text |
Lists, media & forms
| Tag | Purpose |
|---|
| <ul> / <ol> / <li> | Lists |
| <img> | Image |
| <video> / <audio> | Media |
| <iframe> | Embedded page |
| <table> / <tr> / <td> | Tables |
| <form> | Form |
| <input> | Form field |
| <button> | Button |
| <select> / <option> | Dropdown |
| <label> | Field label |
Related tools & charts