# HyperText Markup Language (HTML)

> The language that sets out what is on a web page, using tags.

**Field:** Software Development  
**Category:** Web Development  
**Also known as:** HTML, HTML5

## Think of it like

Think of it like the bones of a body. It gives a page its shape before any skin or clothes go on.

## Definition

HTML is the language that says what is on a web page. It wraps each piece of content in tags, like <h1> for a heading or <a> for a link. The browser reads the tags and shows the page. HTML gives the page its structure, CSS gives it looks and JavaScript makes it act. Every web page starts as HTML.

## Example

Emma writes her first page in HTML. It has a heading, a short paragraph and a link to her email.

## Example code

```html
<h1>Emma's Bakery</h1>
<p>Fresh bread every morning.</p>
<a href="/menu">See the menu</a>
```

A heading, a line of text and a link, each in its own tag.

## Why it matters

HTML is the base of the web. Search engines and screen readers rely on it being right.

## Common mistake

Using a <div> for everything, even buttons and headings. Real tags like <button> and <h2> help screen readers and search.

## Three principles

- **Content in tags.** Each tag says what a part is.
- **Structure only.** CSS does the looks.
- **Use the right tag.** It helps search and access.

## Related terms

- [Cascading Style Sheets (CSS)](https://learn.benibix.com/term/development/css)
- [Document Object Model (DOM)](https://learn.benibix.com/term/development/dom)
- [JavaScript](https://learn.benibix.com/term/development/javascript)
- [Front End](https://learn.benibix.com/term/development/front-end)
- [HTML Element](https://learn.benibix.com/term/development/html-element)
- [Semantic HTML](https://learn.benibix.com/term/development/semantic-html)
- [Markup Language](https://learn.benibix.com/term/development/markup-language)

## Told apart from

- [JSX vs HTML](https://learn.benibix.com/compare/jsx-vs-html): People think JSX is HTML, and it is not. JSX only looks like HTML. It lives inside JavaScript, and a build step turns each tag into a function call. That is why it says className, not class, and why every tag must close.
- [HTML vs DOM](https://learn.benibix.com/compare/html-vs-dom): People think the DOM is the HTML file, and it is not. The HTML file is the text the server sends. The DOM is the live tree the browser builds from it. Scripts change the DOM, not the file. So the page on screen can differ from the page source.

## Taught in

- [HTML Elements and Attributes](https://learn.benibix.com/learn/development-web/html-elements-and-attributes): HTML, CSS and JS, 4/14

---

Source: https://learn.benibix.com/term/development/html
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-19
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
