Skip to main content

HTML Introduction

HTML (HyperText Markup Language) is the standard markup language used to structure content on the web. It was created by Tim Berners-Lee in 1991 alongside the early World Wide Web. Unlike C, Python, or Java, HTML isn’t a programming language — it has no logic, loops, or variables. Instead, it describes the structure of a page using elements and tags: headings, paragraphs, links, images, forms, and more. Browsers read HTML and render it as a visual page.

Why Learn HTML?

  • Foundation of every website — paired with CSS and JavaScript.
  • Simple, declarative syntax — easy to start with.
  • Required knowledge before learning CSS or JavaScript meaningfully.
  • Semantic tags improve accessibility and SEO.

Structure of an HTML Document

<!DOCTYPE html>
<html>
<head>
    <title>My Page</title>
</head>
<body>
    <h1>Hello, World!</h1>
</body>
</html>
ComponentPurpose
<!DOCTYPE html>Declares the document as HTML5
<html>Root element wrapping the entire page
<head>Metadata, title, links to stylesheets/scripts
<body>Visible content of the page
This is a starter page — more HTML topics (tags, forms, semantic HTML) will be added here as modules, the same way the C Language section is structured.