HTML

HTML (HyperText Markup Language) is the standard language used to structure content on the web. It uses tags to describe elements like headings, paragraphs, links, and images that a browser then renders into a page.

Web

HTML is not a programming language — it has no logic or loops. Instead it 'marks up' content, telling the browser what each piece of text or media is and how it relates to the rest of the page.

Every web page you visit is built from HTML. It is usually paired with CSS for styling and JavaScript for interactivity, but HTML is the foundation that comes first.

Examples

HTML

<!DOCTYPE html>
<html>
  <head>
    <title>My Page</title>
  </head>
  <body>
    <h1>Hello, world!</h1>
    <p>This is my first web page.</p>
  </body>
</html>

Output:

Renders a page with a large heading 'Hello, world!' and a paragraph below it.

Learn it in a lesson

See also

Back to the Dictionary