Skip to content

Web development

HTML elements

An HTML heading element uses tags and text to give a client’s page a title.

Tanya runs a bike-repair shop in El Paso. On her new web page, the words Bike Repairs sit there like any other line, the same size as everything else. How do you tell the page those words are its main heading?

Start the lesson

4 minutes. No sign-up needed.

What you'll learn4 ideas
  • HTML is the marking language web pages use to tell the browser what job each piece of text has, like main heading.
  • A browser follows tags like <h1> and </h1> as instructions, so visitors see only the words between them.
  • The opening tag <h1> starts the main heading, and the closing tag </h1> uses a slash to end it.
  • The opening tag, the words and the closing tag together form one element, like <h1>Mobile Repairs</h1>.
Chapter 1: Structuring web pages with HTML7 lessons · 27 min

This lesson is part of the Web development course.

Example plan3 lessons · 12 min

HTML elementsStructuring web pages with HTML4 min
HTML element nestingStructuring web pages with HTML4 min
HTML document structureStructuring web pages with HTML4 min

An example. Your plan follows your answers, so it can start later and end sooner.

Build my plan

Start free, no account needed.