Skip to main content

HTML

html - Structure a webpage

📄️ Markup Language

HTML (HyperText Markup Language) is the standard markup language used to create and structure content on the web. It defines the elements of a web page using tags for content like headings, lists, images, and links. HTML is not a programming language—it doesn’t perform logic or calculations—but rather a markup language used to describe the structure of a web page. Everything viewable in a browser is built with HTML. The HTML may be written directly as in a traditional website or generated by a framework like React. To write a web application that generates HTML (as in React), we need to understand how HTML structures a webpage.

📄️ Text Decoration

You have just learned about display properties block and inline. Elements that are block take up the full width of the line so the next element starts on a new line below. On this page we discuss several formatting tags that are inline. You wouldn't normally want some text that you mark as bold or italic to take up the full width. You likely want the text to remain inline with the surrounding text. The text decoration tags described on this page have display property inline.