#1 Data Analytics Program in India
₹2,499₹1,499Enroll Now
4 min read
•Question 1 of 49easy

What is HTML?

The foundation of every web page.

What You'll Learn

  • What HTML stands for and its purpose
  • Brief history of HTML
  • Basic structure of an HTML document

What is HTML?

HTML (HyperText Markup Language) is the standard language for creating web pages. It describes the structure of a webpage using a series of elements that tell the browser how to display content.

Think of HTML as the skeleton of a website - it defines where headings, paragraphs, images, and links appear on the page.

Brief History

HTML was created by Tim Berners-Lee in 1991 at CERN. The latest version is HTML5, which introduced:

  • Semantic elements (<header>, <nav>, <footer>)
  • Audio and video support
  • Canvas for graphics
  • Local storage

Basic Structure

Every HTML document follows this structure:

index.htmlHTML
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>My Page</title>
</head>
<body>
  <h1>Hello World</h1>
  <p>This is my first webpage.</p>
</body>
</html>

Key Parts:

  • <!DOCTYPE html> - Tells browser this is HTML5
  • <html> - Root element
  • <head> - Contains metadata (title, styles, scripts)
  • <body> - Contains visible content

Why HTML Matters

  1. Universal - Every browser understands HTML
  2. Foundation - CSS and JavaScript build on HTML
  3. SEO - Search engines read HTML to index pages
  4. Accessibility - Screen readers use HTML structure