Need a quick reminder of HTML tags? This cheat sheet gathers the essential elements to code faster without searching through documentation.
HTML is the foundation of the web. This list helps you quickly find the most commonly used tags to structure a page, add links, images, or forms.
What is an HTML cheat sheet?
An HTML cheat sheet is a quick reference guide that gathers the most essential HTML tags used to build and structure web pages. It helps you save time without constantly searching through full documentation.
Why use an HTML cheat sheet?
Whether you are a beginner or an experienced developer, having a list of HTML tags allows you to work faster and avoid common mistakes.
- Save time during development
- Quickly find HTML tags
- Avoid syntax errors
- Learn HTML basics faster
Most commonly used HTML tags
Here are the essential HTML tags you need to build a web page:
Page structure
- <html> : root element
- <head> : metadata
- <body> : visible content
Text content
- <h1> to <h6> : headings
- <p> : paragraph
- <br> : line break
Links and media
- <a> : hyperlink
- <img> : image
- <video> : video
How to test HTML online?
To quickly preview your HTML code, you can use an online HTML viewer. It allows you to instantly see the rendered result without installing any software.
Tip: test your code directly using our tool to see the result in real time.
📊 Reference table
| Tag | Usage |
|---|---|
| <!DOCTYPE html> | Defines the document type |
| <h1> | Main heading |
| <h2> | Subheading |
| <h3> | Section heading |
| <p> | Paragraph |
| <br> | Line break |
| <hr> | Horizontal rule |
| <a> | Hyperlink |
| <img> | Image |
| <video> | Video |
| <audio> | Audio |
| <div> | Generic container |
| <span> | Inline container |
| <header> | Page header |
| <footer> | Page footer |
| <section> | Section |
| <article> | Independent content block |
| <nav> | Navigation menu |
| <ul> | Unordered list |
| <ol> | Ordered list |
| <li> | List item |
| <table> | Table |
| <tr> | Table row |
| <td> | Table cell |
| <th> | Table header cell |
| <form> | Form |
| <input> | Input field |
| <textarea> | Text area |
| <button> | Button |
| <label> | Form label |
| <meta> | Metadata (SEO, charset, viewport) |
| <link> | External resource (CSS, icons) |
| <script> | JavaScript code |
| <style> | Internal CSS styles |