HTML Introduction & History

HTML (HyperText Markup Language) is the foundational technology behind the World Wide Web.

Developed by Tim Berners-Lee in 1991 at CERN.

Evolution of HTML

  • HTML 1.0 (1991) - Basic document structure
  • HTML 2.0 (1995) - Standardization begins
  • HTML 3.2 (1997) - Tables, applets, text flow
  • HTML 4.01 (1999) - CSS integration, accessibility
  • XHTML (2000) - XML-based strict version
  • HTML5 (2014) - Modern semantic elements, multimedia
  • HTML Living Standard (Ongoing) - Continuously updated by WHATWG

Key Features

  • Platform-independent
  • Easy to learn and use
  • Supports multimedia
  • Extensible and flexible
  • Works with CSS + JavaScript for full web apps
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>HTML5 Document</title>
  </head>
  <body>
    <h1>Welcome to HTML5</h1>
    <p>This is a modern HTML document.</p>
  </body>
</html>

Browser Rendering Process

  1. Browser requests HTML from server
  2. Parses HTML into DOM (Document Object Model)
  3. Loads external resources (CSS, JavaScript, fonts, images)
  4. Builds CSSOM and Render Tree
  5. Calculates layout (reflow)
  6. Paints pixels on screen
  7. Executes JavaScript and handles user events