HTML Elements
Cole Knaver
Cis 195 portfolio
<html>
Root element that wraps the entire HTML document.
<head>
Holds metadata, page title, styles, and scripts.
<body>
Contains all visible page content.
Document metadata (3)
<title>
Text shown in the browser tab and used as the page title in search results.
<meta>
Metadata such as character set, viewport settings, or SEO description.
<link>
References external resources like stylesheets or icons.
<h1>
Main heading for the page or top-level section.
<h2>
Major subsection heading under
<h3>
Sub-heading under
<
Paragraph of text.
<br>
Line break inside text (used sparingly).
<strong>
Marks text as important; usually rendered bold.
<em>
Emphasized text; usually rendered italic.
<div>
Generic block‑level container for grouping content.
<span>
Generic inline container for styling small text segments.
<header>
Intro/heading area for a page or section.
<nav>
Section that holds navigation links.
<main>
The primary unique content of the page (one per document).
<footer>
Footer area for a page or section.
<ul>
Unordered (bulleted) list.
<ol>
Ordered (numbered) list
<li>
List item inside <ul> or <ol>.
<img>
Embeds an image.
<audio>
Embeds audio with controls.
<video>
Embeds video with controls.
<a>
Hyperlink to another page, file, or location.
<code>
Marks inline code or code fragments.
<pre>
Preformatted text that preserves whitespace
<form>
Container for user input controls to be submitted.
<input>
Versatile form control (text fields, checkboxes, etc., via the type attribute).
Cis 195 portfolio