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?
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>.