Skip to content

Getting Started with HTML

Welcome to html.sh! This guide will introduce you to HTML and help you understand what you’ll learn here.

HTML stands for HyperText Markup Language. It’s the standard language for creating web pages.

  • HyperText means text with links to other text (like clicking a link to go to another page)
  • Markup means you add special tags to text to give it structure and meaning
  • Language means it has rules and syntax, just like English or any programming language

Here’s the simplest possible HTML:

Result

That’s it! The <p> tag creates a paragraph. Try changing the text in the playground above.

HTML uses elements to describe content. An element typically has:

  1. An opening tag: <p>
  2. Content: The text or other elements inside
  3. A closing tag: </p>
<p>This is a paragraph.</p>

Some elements don’t need content or closing tags:

<br> <!-- Line break -->
<img src="photo.jpg" alt="A photo"> <!-- Image -->

HTML Basics

Start with fundamentals: elements, attributes, and document structure. Begin Tutorial

Element Reference

Look up any HTML element with examples and explanations. Browse Elements

Ready to start learning? Here’s your recommended path:

  1. What is HTML? — Deeper dive into HTML concepts
  2. Your First Page — Build a complete HTML page
  3. Text and Headings — Format text content

Or jump straight to the A-Z Element Reference if you’re looking for something specific.