HTML Elements

HTML Elements

Trever Hood

Return to CIS195 Home/Portfolio
HTML element image
<html>
Wraps the entire webpage.
<head>
Contains page info (not shown on screen).
<title>
Text shown in the browser tab.
<body>
All visible content goes here.
<meta>
Provides info like character set or viewport.
<link>
Connects external files (like CSS).
🧱 Layout / Structure
<header>
Top section (title, logo, nav).
<nav>
Navigation menu/links.
<main>
Main content area.
<section>
Groups related content.
<article>
Standalone content (like a post).
<footer>
Bottom section of page.
<div>
Generic container for layout.
<span>
Inline container for small text styling.
📝 Text Content
<h1> - <h6>
Headings (big to small).
<p>
Paragraph text.
<br>
Line break.
<strong>
Bold (important text).
<em>
Italic (emphasis).
<mark>
Highlights text.
<small>
Smaller text (like fine print).
🔗 Links & Media
<a>
Creates links.
<img>
Displays images.
<figure>
Groups media + caption.
<figcaption>
Caption for image/media.
<video>
Embeds video.
<audio>
Embeds audio.
📋 Lists & Misc
<ul>
Unordered list (bullets).
<ol>
Ordered list (numbers).
<li>
List item.
<code>
Displays code text.