HTML elements

Emily borden

return to cis195 home/portfolio
<header>
Top section of a page or article; often contains logos or navigation.
<nav>
Holds major navigation links.
<main>
Wraps the primary content of the page.
<section>
Groups related content into thematic sections.
<article>
Self‑contained content like blog posts or news items.
<aside>
Sidebar or supplementary content.
<footer>
Bottom section of a page or article; often includes contact info or copyright.
<figure>
Wraps images, diagrams, or code blocks as a single unit.
<figcaption>
Caption or explanation for a figure.
<h1>
Main page heading.
<h2>
Subheading for major sections.
<h3>
Subheading for subsections.
<p>
Paragraph of text.
<strong>
Strong importance; usually bold.
<em>
Emphasis; usually italic.
<b>
Bold text without semantic meaning.
<i>
Italic text without semantic meaning.
<mark>
Highlights text.
<small>
Smaller, less prominent text.
<blockquote>
Long quotations.
<cite>
Cites a creative work.
<code>
Inline code snippet.
<pre>
Preserves whitespace; often used for code blocks.
<br>
Line break.
<hr>
Horizontal rule dividing content.
<img>
Displays an image.
<video>
Embeds a video player.
<audio>
Embeds audio playback.
<source>
Provides media sources for video or audio.
<iframe>
Embeds external content like maps, videos, or other webpages