HTML is the language used to describe the structure of a web page. The acronym stands for HyperText Markup Language. It indicates which part of the content is a heading, a paragraph, an image, a list or a link. The browser reads those instructions and turns them into the page you see, with its order and its elements.
It is the foundation of everything on the web. Every page you have visited, from a social network to a shop or a newspaper, is built on this language. Other elements, such as colours or animations, are added on top, but the structure is always defined in HTML. That is why it is often called the skeleton of the internet.
HTML is the blueprint of a web page. It says what is there and where each thing goes, and the browser draws it on screen.
What is HTML?
In the name HTML, hypertext means text with links to other texts. It is the idea that gave birth to the web. Instead of reading a document from start to finish, the reader can jump from one to another by clicking on links. Markup means that the content comes with marks that describe its function. A heading is marked as a heading, and a paragraph as a paragraph.
The marks used by the HTML language are called tags. Each one surrounds part of the content and says what type it is. The browser understands these tags and knows how to display them by default, for example with large type for headings. Styles can then change their appearance. This separation between what a piece of content is and how it looks is one of the most important ideas of the web.

Structure, meaning and accessibility of HTML markup
The structure of an HTML document
An HTML document starts with the !DOCTYPE html declaration, which tells the browser which version of the language it uses, and all its content goes inside the html tag. Inside there are two large areas. The head, the head tag, contains information that visitors do not see on the page, such as the title shown in the tab, the description for search engines, the language and the references to the style sheets. The body, the body tag, contains everything that is displayed, from the menu to the footer. Each element is marked with a tag that indicates its nature, such as paragraph, heading, list or link.
Main tags and attributes
Each element is written with an opening tag and a closing tag, and the content goes between them. Headings go from h1 to h6 depending on their level, paragraphs in p, links in a and images in img. Lists use ul or ol with their li items, and forms are built with form and input fields. Tags carry attributes that add information, such as href with the destination of a link, src with the file of an image or alt with its description. Elements, attributes and values are the three building blocks of the whole language.
Semantic elements
The fifth version of the language introduced tags that say what each area of the page is for. There are elements for the header, the navigation, the main content, articles, sections, sidebars and the footer. Previously, generic containers with no meaning were used, and programs had to guess what each thing was.
With them, a screen reader can jump straight to the main content, a search engine can tell the article apart from the advertising and a browser can offer a reading view. Using the right elements takes no extra work and improves accessibility and search rankings. It is one of the most cost-effective investments in web quality.
Form elements
HTML forms collect the data the visitor types using the form element and its fields. The input element changes behaviour depending on its type attribute, so with the value email the phone shows a keyboard with the at sign, with date a calendar appears and with password the characters are hidden. Attributes such as required, minlength or pattern let the browser check the data before sending it, although the server must always validate it again.
Media and graphics elements
HTML includes its own elements for media content, which used to require external plug-ins. video and audio play files with the browser’s own controls, picture and the srcset attribute make it possible to serve a different image depending on the screen size, and canvas and svg draw graphics, the former pixel by pixel with JavaScript and the latter with vector shapes that do not lose quality when enlarged.
Accessibility and search rankings
Well-written HTML helps both people and search engines. Headings arranged in a meaningful order let a screen reader move through the page section by section. Alternative text on images describes their content to people who cannot see them. And properly marked lists and paragraphs make it easier for search engines to understand the importance of each part of the content and how the parts relate.
A common mistake is to use tags only for their appearance. For example, giving a heading large bold type without marking it as a heading, or choosing the heading level based on the size you want. Visually it looks fine, but the structure becomes confusing for anyone who relies on it. It is a flaw that accessibility tools and quality audits check for.
In a content management system, the editor generates the structure from what the author chooses. If they use the heading block or button, the corresponding tag is created. If they choose a list, a real list is generated. That is why it is useful to know the basics and to use each element of the editor for its intended purpose. A website with a clear structure is easier to maintain, faster and more pleasant to use.
Markup versus programming and the health of your HTML
Markup language versus programming language
A very common confusion is to consider HTML a programming language. It is not. A programming language executes instructions and makes decisions, while HTML only describes how a piece of content is organised. It does not calculate, repeat tasks or respond to conditions. That is why it is called a markup language. The distinction matters, because it explains how roles are divided on a website. HTML organises, CSS provides the look and JavaScript adds behaviour. Anyone who learns HTML can understand and review the structure of a page without knowing how to program, which makes it a good starting point for anyone who manages a website.
The end of proprietary browser plug-ins
For almost two decades, watching animations, games or videos on a website meant installing a program called Flash Player. It was everywhere, but it was also a problem. It had many security flaws, consumed a lot of resources and did not work on the most popular phones. Security experts considered it one of the favourite ways in for criminals. In July 2017, Adobe announced that it would stop distributing and updating it on 31 December 2020. It explained that open standards, such as HTML5, had matured enough to offer alternatives. Browsers blocked it from running as of January 2021. It was the end of an era and a demonstration of how an open language can replace a proprietary technology.
For visitors, the change went by almost completely unnoticed. Videos and animations kept working without having to install anything. For security, it was great news, because a constant target for attacks disappeared. For creators, it opened the door to lighter and more compatible websites that work the same on a computer, a tablet or a phone with no special requirements. A WordPress developer knows when to use these pieces and how to integrate them without breaking what already works.
How to tell whether your website’s code is healthy
There are free tools that review a page and flag structural errors, badly closed tags or images without a description. You do not need to understand every warning, but you should pay attention to the most frequent ones. A monthly check of the main pages catches problems before they affect search rankings or the experience of people who use screen readers. A common example is images without a description. For a search engine and for a blind person, a photo without alternative text is a gap in the page. Adding a short sentence that explains what each important image shows is a small job that improves accessibility and gives useful clues about the content to whoever analyses it.
You can also run a simple test with the browser itself. Go through your website using only the keyboard, without a mouse. If you can reach every link and button, and it is clear where you are, the structure is reasonable. If you get lost, or there are elements you cannot reach, there is work to do. It is a quick test that reveals important problems.
Finally, keep an eye on design or extension changes. Some extensions add a lot of unnecessary code and clutter the structure. If the website becomes heavier or looks odd on certain devices after you install something, it is worth checking. Clean HTML is not a developer’s luxury, it is an investment in speed, accessibility and good visibility in search engines.
History of HTML
The first web page
In the late 1980s, the scientist Tim Berners-Lee was working at CERN, the European particle physics research centre. Researchers produced many documents on different computers and it was hard to find and connect the information. Berners-Lee proposed a system of linked documents that could be consulted from any connected computer. That proposal was the origin of the World Wide Web. In 1991 the first web page was published, explaining the project itself, and it can still be viewed at its original CERN address. It was a simple text with links. The first versions of the language had barely twenty elements. The rest of the world adopted it quickly, because it was open, free and easy to learn, three traits that explain its success.
The browser wars and the W3C
In the mid-1990s, companies such as Netscape and Microsoft competed to dominate the browser market. Each one added its own elements to the language to stand out, which made it hard for a website to look the same in all of them. That is when the W3C consortium emerged, bringing together companies and experts to define common standards. Versions 3.2 and 4.01 brought order to that era.
It was a period of great frustration for people who built websites. Every page had to be tested in several browsers, with workarounds to make it look the same. Over the years, respect for standards gained ground, and today the main browsers interpret the language in very similar ways. That uniformity is a quiet achievement that lets a website work on almost any device.
It is worth remembering this when people assume the web is stable by nature. Behind it lie decades of agreements between competitors, public documents and shared tests. Without that effort, each browser would interpret pages in its own way and we would be back to a fragmented web, where each site would only work with certain programs.
HTML5 and the living standard
Version five, officially recommended by the W3C in October 2014, was a major leap. It introduced elements for video and audio, improved forms and added tags to structure the document, such as header, navigation and footer. With that, the web could do things that previously required external programs, without depending on specific companies or extra installations.
Since then, the language has been maintained as a living standard, under a group called the WHATWG, made up of the main browser vendors. There are no longer big numbered versions, only continuous improvements. This allows quick adaptation to new needs, although it forces professionals to keep up with the new features added every year.
