Britannica Sources used in this answer

How does HTML determine the structure and content of a web page?

Created from Britannica articles using AI. AI can make mistakes, so verify using Britannica articles.

HTML (Hypertext Markup Language) determines the structure and hierarchy of a web page through the use of markup tags. These tags act as instructions that specify document elements, such as headings, paragraphs, and tables, which allow a web browser to interpret and render the content correctly.123

When a browser processes an HTML document, it reads these tags to organize the layout, adapting the presentation of text, graphics, and other media to the user's screen size and available fonts. Additionally, HTML incorporates anchors—tags that define hypertext links—to connect the document to other web pages via URLs. While HTML provides the foundational structure, other technologies like CSS are used to control stylistic presentation, and JavaScript is used to add interactivity.231