HTML Elements

Marcos Sanchez

Return to CIS195 Home/Portfolio
<html>
Root element of the entire document.
<head>
Holds metadata and resources.
<title>
Sets the browser tab title.
<body>
Contains visible page content.
<meta>
Provides metadata (charset, viewport, etc.).
<link>
Links external resources (like CSS files).
<style>
Internal CSS styling.
<script>
Embeds or links JavaScript.
<header>
Top section (logo, heading, nav).
<nav>
Navigation menu.
<main>
Main content area.
<section>
Groups related content.
<article>
Independent piece of content.
<aside>
Sidebar or extra info.
<footer>
Bottom section of the page.
<div>
Generic container (non-semantic block).
<h1> to <h6>
Headings of different levels.
<p>
Paragraph text.
<span>
Inline container for styling small parts of text.
<strong>
Important text (usually bold).
<em>
Emphasized text (usually italic).
<mark>
Highlights text.
<small>
Smaller, less important text.
<blockquote>
Long quoted section.
<q>
Short inline quote.
<ul>
Unordered list (bullets).
<ol>
Ordered list (numbers).
<li>
List item.
<a>
Hyperlink to another page or section.
<img>
Displays an image.