HTML Terms Explained

Core Concepts

TermMeaning
HTMLHyperText Markup Language — the standard language for web pages
TagAn instruction in angle brackets, e.g. <p>. Most come in pairs.
AttributeExtra info inside a tag: <a href="page.html">
DOCTYPEDeclares the HTML version: <!DOCTYPE html>
DOMDocument Object Model — the tree structure JavaScript can manipulate

Common Tags Quick Reference

TagPurpose
<h1>–<h6>Headings (h1 = most important)
<p>Paragraph of text
<a href="">Hyperlink
<img src="" alt="">Image
<div>Block-level container
<span>Inline container
<ul>/<ol>/<li>Unordered/ordered lists
<form>/<input>Forms and input fields