Short answer
HTML is used to describe the structure and meaning of web content so a browser can show it. MDN calls it HyperText Markup Language, the basic building block of the Web. You use elements for paragraphs, headings, links, images, and forms. CSS handles appearance, and JavaScript handles behavior.
Last verified against the sources listed below.
Key takeaways
- HTML marks up structure and meaning. CSS handles look, and JavaScript handles behavior.
- An element is set off by tags. The tag name is written between angle brackets.
- MDN recommends lowercase tags, even though tag names are case-insensitive.
- Links are the hypertext part: they connect one page to another.
- Forms collect data or let people control an interface, using elements such as input and button.
- The WHATWG HTML Standard is a Living Standard. The copy opened here was updated 2 December 2026.
What is HTML used for is the question of why every web page starts as markup, not as a picture. HTML names the parts of the content. A browser uses those names to show headings, paragraphs, links, images, and forms, and to expose that structure to assistive technology and to search engines.
MDN’s HTML overview says HTML defines the meaning and structure of web content. Other technologies generally describe appearance, which is CSS, or behavior, which is JavaScript. You can generate placeholder text and drop it inside those elements while the layout is still a sketch.
What does HTML stand for?
HTML stands for HyperText Markup Language, which is the name MDN prints on its HTML overview and in its glossary.
Hypertext, on that overview, means text that contains links connecting pages, inside one site or between sites. Markup means the annotations you add around text, images, and other content so the browser knows what each part is. MDN lists elements for paragraphs, headings, links, images, and many more as the vocabulary of that markup.
The glossary adds a short history. Tim Berners-Lee defined hypertext in 1990, the IETF released version 2.0 in 1995, and the W3C released HTML 4.0 in 1999. WHATWG, founded in 2004, carried the work into the living standard.
The WHATWG HTML Standard titles itself a Living Standard. The copy opened here was last updated 2 December 2026. It is the spec browsers implement, not a year stamped on a box.
How do elements differ from tags?
An element is the unit of content. A tag is the marker, written with the element name between angle brackets, that shows where the element starts and ends.
MDN says the name inside a tag is case-insensitive, so a title tag could be written in uppercase, lowercase, or a mix. The convention, and the recommended practice, is lowercase. The glossary says elements are surrounded by matching opening and closing tags, and that a few void elements, such as a line break, cannot enclose text.
Attributes extend a tag with extra values, such as a link address or an image source. MDN’s structuring module treats elements, attributes, and page shape as the start of the language, before headings, lists, and sections.
That split is why “just add a tag” is the wrong mental model. The tag is punctuation. The element is the thing with a meaning, such as a paragraph or a heading, that other tools can rely on.
Which elements show up on almost every page?
A typical page uses a small set of elements to mark text, links, pictures, and the regions around them.
MDN’s structuring module says HTML gives text a structure the browser can display as the author intends. Headings and paragraphs do the basic job. Lists are unordered, ordered, or description lists. Links make the Web a web, and images use the img element.
The head is not shown as body content. It holds the title, CSS links, favicon links, and other metadata. Structural elements name regions such as a header, navigation, and the main column. Semantics matter for accessibility and for browser features that depend on meaning.
| Element | Role, from MDN’s docs |
|---|---|
| p | Marks a paragraph of text |
| Headings | Define the heading structure of the page |
| a | Creates a link to another page or resource |
| img | Embeds an image in the page |
| form | Collects data or offers controls |
You do not need every element on day one. You do need the ones that match the content you actually have.
What are HTML forms used for?
HTML forms are used to collect data from people or to let them control an interface.
MDN’s forms module says forms cover registering, sending feedback, buying, and similar tasks. You mark up the structure in HTML. CSS styles the controls. Sending data often needs the server and JavaScript, because form controls are more complex than most elements.
Native controls start with input types, plus button, select, and textarea. MDN notes that HTML5 added constraint validation so some checks can run from attributes, without JavaScript. That is still HTML, not a substitute for clear labels.
A form is still content. Labels, the order of fields, and the button text are part of the markup. If those words are unclear, styling will not fix the meaning.
How does HTML relate to design and search?
HTML gives design and search a structure to attach to. It does not, by itself, set the colors or the layout.
Web design plans how a site looks and works. The markup is what that plan is built on. MDN is explicit that HTML is not the presentation layer. Placeholder copy can sit in the elements until the real sentences exist.
Google’s SEO Starter Guide treats the title element as one source for the title link, and a snippet can come from the page or sometimes from the meta description. Alt text helps Google understand an image. The guide also says semantic heading order helps screen reader users.
So HTML is used for meaning first. Search and visual design both read that meaning. Hiding the structure, or replacing it with a picture of text, throws away the part browsers and assistive tools already know how to use.
What is HTML not used for?
HTML is not used as the stylesheet, the programming language, or a guarantee of a particular visual design.
MDN assigns appearance to CSS and behavior to JavaScript. The W3C describes CSS as the language for fonts, colors, and spacing. A page of only HTML still gets browser defaults, such as larger headings. Those defaults are a safety net, not a design.
HTML is also not a ranking formula. Google’s guide says content length is not a ranking target. Write the elements that match the content. A paragraph is a paragraph, and a link goes where the text says it goes.
If you are learning the language, MDN’s path is enough: syntax, the head, headings and paragraphs, links, images, then forms. The Living Standard is there when you need the precise rule. The use of HTML stays the same at both levels. It tells the browser what the content is.
Frequently asked questions
Is HTML5 a separate language with one release year?
MDN's HTML glossary says the first draft of HTML5 appeared in 2008 and an official standard followed in 2014. The same page says the term HTML5 is a buzzword for modern web technologies that are part of the HTML Living Standard. WHATWG's HTML Standard page titles itself a Living Standard, so there is not a single frozen version number to memorize.
What is the difference between an element and a tag?
MDN describes an element as content set off by tags. A tag is the element name wrapped in angle brackets. Most elements have an opening tag and a closing tag. A few empty elements, such as the line break, do not enclose text. Attributes on a tag give the browser extra information about that element.
Where does the page title live if visitors do not see the head?
MDN's structuring module says the head is not displayed as page content. It holds metadata, including the title, links to CSS, favicon links, and other data about the document, such as who wrote it. The visible words live in the body. Google's starter guide still uses the title element as one source for the headline of a search result.
Which file extension should an HTML document use?
MDN's glossary says an HTML file is normally saved with an .htm or .html extension, served by a web server, and rendered by any web browser. The document itself is plaintext. The tags, not a special binary format, are what mark the structure the browser reads.
Do forms need JavaScript before they can exist?
No. MDN's forms module says you mark up the form in HTML, then use CSS to style controls and scripting for tasks such as validation and custom controls. Basic native controls include the original input types, and later input types add more UI. A form can collect data or let someone operate an interface.
Sources
- HTML: HyperText Markup Language · MDN Web Docs, 2026
- HTML glossary · MDN Web Docs, 2026
- HTML Standard · WHATWG, 2026
- Structuring content with HTML · MDN Web Docs, 2026
- Web forms · MDN Web Docs, 2026
- SEO Starter Guide: The Basics · Google Search Central, 2026
- Cascading Style Sheets · W3C, 2026