Use this dark mode page to review how different native HTML tags render by default in the browser.
| Tag & Description | Visual Example |
|---|---|
<h1> to <h6>Headings |
Heading 1Heading 2Heading 3Heading 4Heading 5Heading 6 |
<p>Paragraph |
This is a standard paragraph element used for blocks of text body content. |
<hr>Horizontal Rule |
Text above the line. Text below the line. |
| Tag & Description | Visual Example |
|---|---|
<strong> / <b>Bold / Importance |
This text contains strongly emphasized bold words. |
<em> / <i>Italic / Emphasis |
This text contains emphasized italicized words. |
<mark>Highlighted text |
You can use this tag to highlight important terms visually. |
<small>Fine print |
This is smaller text often used for legal disclaimers or footnotes. |
<del> and <ins>Deleted / Inserted |
The price is |
<sub> and <sup>Subscript / Superscript |
Water is H2O. Einstein's formula is E=mc2. |
<a>Hyperlink |
Visit the Example Website link. |
| Tag & Description | Visual Example |
|---|---|
<ul> & <li>Unordered List |
|
<ol> & <li>Ordered List |
|
<dl>, <dt>, <dd>Description List |
|
| Tag & Description | Visual Example |
|---|---|
<button>Button Clickable |
|
<input>Text Input Types |
Choice B |
<textarea>Multi-line Text |
|
<select> & <option>Dropdown Menu |
|
<details> & <summary>Collapsible Accordion |
Click here to expand detailsHidden content revealed inside the details disclosure element. |