What is HTML?
Get an overview of HTML's purpose in creating web pages.
Context
Think of a document that you would create in a word processor like Microsoft Word or Google Docs. They usually consist of more than one style. They use different font sizes to indicate different sections of the text, like headers, main content, footers, table of contents, captions, etc.
While a human can simply look at a document and understand the difference between a heading and a paragraph, computers have no such intuition. For a browser to correctly render a web page, it must be explicitly told what each piece of content is.
Defining structure using HTML elements
So how exactly do we tell the browser what’s what? This is where Hyper Text Markup Language (or HTML for short) comes in handy. HTML is a markup language that provides a description of the structure/layout of your web page. We define this structure by wrapping ...