HTML (HyperText Markup Language)
Written by Andy Sim
Last updated
HTML, or HyperText Markup Language, is the basic code that describes the structure of a web page: its headings, paragraphs, links, images, lists and forms.
A browser reads the HTML and displays the page. It uses tags, such as h1 for a main heading or p for a paragraph, and CSS adds the design while JavaScript adds behaviour. Clean, well-structured HTML helps search engines and screen readers understand the page.
Examples
- An h1 tag holding the main heading of the page.
- An a tag creating a link to another page.
- An img tag with alt text describing the picture.
Why it matters for your website
You do not need to write HTML to run a website, but good structure helps SEO and accessibility. A page with one clear main heading, logical sub-headings and proper links is easier for both people and search engines.