Learn
🤖 AI Hub 📰 News 📖 Dictionary 🧰 Resources
Grow
💼 Jobs 🚀 Community 🏆 Challenges
Explore by Stage
🌑 Zero 📚 Learn 🔧 Practice 🏗 Build 🚀 Launch 💰 Earn
Account
Login Sign Up
🏗️HTML 🎨CSS ⚡JavaScript 🐙Git & GitHub ⚛️React Soon 📘TypeScript Soon 🐍Python 🗄️Database & SQL Soon 🌐Web Development Soon ☁️Cloud & DevOps Soon 🤖AI & ML Soon 📄Resume Prep Soon 🎤Interview Prep Soon 💼Freelancing Soon 🚀SaaS & Side Projects Soon 🤖Automation Soon
Beginner 🕑 2 min read 👁 16 views 📅 May 30, 2026

What is HTML? — The Skeleton of Every Webpage

HTML is the foundation of every website. Learn what HTML is, how browsers read it, and build your first webpage in 5 minutes.

HTML — The Foundation of Every Website

Every website you've ever used — Google, YouTube, Swiggy — is built with HTML at its core. HTML stands for HyperText Markup Language. It's not a programming language; it's a markup language — you use it to tell the browser what each piece of content is.

Think of HTML as the blueprint of a building. It defines where the walls, doors, and windows go. The paint and furniture is CSS. The electricity and plumbing that makes things work is JavaScript.

Your First HTML Page

Open any text editor (Notepad, VS Code). Paste this, save it as index.html, and open it in Chrome:

<!DOCTYPE html>
<html>
  <head>
    <title>My First Page</title>
  </head>
  <body>
    <h1>Hello, World!</h1>
    <p>This is my first webpage.</p>
  </body>
</html>

Open the saved file in your browser. You'll see a heading and a paragraph. You just built a webpage.

What Each Part Does

  • <!DOCTYPE html> — Tells the browser this is an HTML5 document
  • <html> — The root container for the whole page
  • <head> — Behind-the-scenes info (title, styles). Not visible to users.
  • <title> — Text shown on the browser tab
  • <body> — Everything users actually see goes here

Real-World Example — A Restaurant Page

<!DOCTYPE html>
<html>
  <head>
    <title>Sharma's Dhaba — Mumbai</title>
  </head>
  <body>
    <h1>Sharma's Dhaba</h1>
    <p>Fresh home-style food, served since 1985.</p>
    <h2>Today's Specials</h2>
    <p>Dal Makhani — Rs.150</p>
    <p>Butter Chicken — Rs.200</p>
  </body>
</html>

HTML just gives content its structure. It looks plain right now — CSS handles the visual design.

Key Takeaways

  • HTML = structure  |  CSS = style  |  JavaScript = behaviour
  • Every page starts with <!DOCTYPE html>
  • Visible content goes inside <body>
  • No server needed — just a text editor and a browser

Try It Yourself

Create about-me.html with your name as an h1, a sentence about yourself in a p, and your city.

❓ Frequently Asked Questions

Just a text editor (VS Code is free) and a web browser. Nothing else needs to be installed.
You can learn basic HTML in about a week if you practice for an hour every day.
HTML defines the structure of a page, meaning what appears on it. CSS controls the styling, meaning how it looks.
Was this lesson helpful?

🎯 Finished this lesson?

🔗 Related Tutorials
🤖 Got a Doubt? Ask AI
Get instant answers in Hindi or English
🤖
Z2T Bot
Online
Ask me anything about this tutorial — I'm here! 👋