HTML Tags + Descriptions

Each item shows the tag name, a clear description, and a small example. (This is a reference sheet, not a page that “uses” all these tags for layout.)

<p>Text
Paragraph

Creates a paragraph (a block of text with spacing above/below).

Example
<p>This is a paragraph.</p>
<h1>…<h6>Text
Headings

Headings define titles/subtitles. Use h1 for the main page title, then h2 for sections, h3 for subsections, etc.

Example
<h1>Page Title</h1>
<h2>Section Title</h2>
<h3>Subsection Title</h3>
<br>Text
Line break

Inserts a line break. Note: <br> is a void tag (no closing tag).

Example
Line 1<br>Line 2
<hr>Layout
Divider

Creates a horizontal divider line. Void tag (no closing tag).

Example
<hr>
<strong>Text
Strong importance

Marks text as important. Browsers typically render it bold.

Example
<strong>Important text</strong>
<em>Text
Emphasis

Emphasizes text (screen readers also emphasize it). Browsers typically render it italic.

Example
<em>Emphasized text</em>
<b>Text
Bold (stylistic)

Makes text bold for style (not necessarily “important”).

Example
<b>Bold text</b>
<i>Text
Italic (stylistic)

Italicizes text for style (not necessarily emphasis).

Example
<i>Italic text</i>
<u>Text
Underline

Underlines text. Use carefully because underlines look like links.

Example
<u>Underlined text</u>
<a>Navigation
Link

Creates a hyperlink to another page, section, file, email, etc.

Example
<a href="https://example.com">Visit Example</a>
<img>Media
Image

Displays an image. Void tag. Always include alt text.

Example
<img src="image.jpg" alt="A description of the image">
<ul>Lists
Unordered list

Creates a bulleted list (items are <li>).

Example
<ul>
  <li>Item A</li>
  <li>Item B</li>
</ul>
<ol>Lists
Ordered list

Creates a numbered list (items are <li>).

Example
<ol>
  <li>First</li>
  <li>Second</li>
</ol>
<li>Lists
List item

Represents one item inside <ul> or <ol>.

Example
<ul>
  <li>One list item</li>
</ul>
<div>Layout
Block container

A generic block container used to group elements (often for CSS layout).

Example
<div class="card">...content...</div>
<span>Text
Inline container

A generic inline container used to style small pieces of text.

Example
<p>Hello <span class="highlight">world</span>!</p>
<form>Forms
Form

Wraps inputs and controls to collect and submit user data.

Example
<form action="submit.php" method="post">...</form>
<input>Forms
Input

Creates a single-line input. Void tag. Type controls behavior.

Example
<input type="text" placeholder="Your name">
<button>Forms
Button

Creates a clickable button (submit, reset, or normal button).

Example
<button type="submit">Send</button>
<label>Forms
Label

Labels a form control (better usability + accessibility).

Example
<label for="email">Email</label>
<input id="email" type="email">
<textarea>Forms
Multi-line input

Creates a multi-line text input box.

Example
<textarea rows="4" cols="30">Type here...</textarea>
<table>Tables
Table

Creates a table structure with rows and cells.

Example
<table>
  <tr><th>Name</th></tr>
  <tr><td>Arseine</td></tr>
</table>
<section>Semantic
Topic section

Groups related content under one topic (usually with a heading). Think: “Features”, “Services”, “FAQ”, “Contact”. Each topic can be its own <section>.

Example
<section>
  <h2>Services</h2>
  <p>Web apps, design, and branding.</p>
</section>
<article>Semantic
Self-contained content

Represents a standalone piece of content (blog post, news story, forum post).

Example
<article>
  <h2>Blog Post Title</h2>
  <p>Post content...</p>
</article>
<aside>Semantic
Related content

Content related to the main content, like a sidebar, tips box, or “related links”.

Example
<aside>
  <h3>Tip</h3>
  <p>Use semantic tags for clarity.</p>
</aside>
<header>Semantic
Intro area

Intro content for a page/section/article (logo, title, nav, etc.).

Example
<header>
  <h1>Site Name</h1>
  <nav>...</nav>
</header>
<footer>Semantic
Footer area

Footer content for a page/section (copyright, contacts, links).

Example
<footer>© 2026 Your Name</footer>
<nav>Semantic
Navigation

Wraps major navigation links (menu, table of contents).

Example
<nav>
  <a href="#home">Home</a>
  <a href="#contact">Contact</a>
</nav>
<main>Semantic
Main content

The main unique content of the page (should appear once per page).

Example
<main>...main page content...</main>
<blockquote>Text
Long quote

For long quotations (often displayed indented).

Example
<blockquote>Long quote here...</blockquote>
<code>Text
Inline code

Displays a short snippet of code inline inside a sentence.

Example
<p>Use <code>console.log()</code> to print.</p>
<pre>Text
Preformatted

Preserves spacing and line breaks exactly as typed (great for code blocks).

Example
<pre>
Line 1
    Line 2 (indented)
</pre>
<audio>Media
Audio

Embeds audio. Use controls to show play/pause.

Example
<audio controls src="audio.mp3"></audio>
<video>Media
Video

Embeds video. Use controls to show video controls.

Example
<video controls width="360" src="video.mp4"></video>
Important fixes from your original page:
<br> and <hr> do not have closing tags.
• Don’t place real <html>, <head>, <body> tags inside the page content (we show them as code examples instead).
• For learning pages, show tags inside <pre> blocks so they “appear” on screen rather than being interpreted by the browser.