HTML, or HyperText Markup Language, is the standard markup language for documents designed to be displayed in web browsers. It provides a means of describing the structure of text-based information in a document — from headers, paragraphs, and lists to multimedia content like images and videos, and interactive forms.
HTML was developed by Tim Berners-Lee at CERN in 1989. Here is a brief timeline:
<header>
, <footer>
, and <nav>
which describe different parts of a web page, making it more readable and structured.<video>
and <canvas>
.<picture>
element which allows for different image sources for various device resolutions.The basic structure of an HTML document includes:
<!DOCTYPE html>
- Declaration to inform the browser about the version of HTML.<html>
- The root element of an HTML page.<head>
- Contains meta information about the document.<body>
- Contains all the contents of an HTML document, such as text, hyperlinks, images, tables, lists, etc.