HTML Basics: Building Blocks of Every Website

HTML Basics: Building Blocks of Every Website

Table of Contents

HTML Basics – Your First Step into Web Development

Introduction

So you’ve heard of HTML, but what the heck is it really? Is it hard? Do you need to know everything about it? Spoiler: Nope.

What is HTML?

HTML stands for HyperText Markup Language. It’s not a programming language — it’s a markup language, which means it tells the browser how to structure content.

Notice

Hey hey, relax. You don’t need to master 100% of the syllabus. You just need to learn enough — the 20% that helps you move on to the next topic, build the next project, or crack that upcoming interview. That’s it. Learn smart, not hard.


Here’s the skeleton of every HTML page:


<!DOCTYPE html>
<html>
  <head>
    <title>My First Web Page</title>
  </head>
  <body>
    <h1>Hello, world!</h1>
    <p>This is my first web page using HTML.</p>
  </body>
</html>

Let’s break it down:

  • !DOCTYPE html Tells the browser you’re using HTML5.
  • html Wraps your entire webpage.
  • head Stuff like title and meta data (not visible on the page).
  • body The visible stuff like headings, paragraphs, buttons, images, etc.

Tables

TablesAre
h1 to h6Headings (big to small)
pParagraph
aAnchor tag (links)
imgdisplay images
ul ol liLists (unordered/ordered)
brLine break
divDivision (for layout/structure)

Quick Project Idea

Try writing this code and saving it as index.html:

<!DOCTYPE html>
<html>
  <head>
    <title>About Me</title>
  </head>
  <body>
    <h1>Hi, I'm Aditya!</h1>
    <p>I’m learning HTML and this is my very first webpage.</p>
    <p>Here's a list of things I like:</p>
    <ul>
      <li>Chess</li>
      <li>Programming</li>
      <li>Astronomy</li>
    </ul>
  </body>
</html>

Now open it in your browser. Boom. You’ve built a page!

🎯 Final Thoughts

HTML is your starting point. Learn the basics, build something small. Don’t aim to memorize every tag — just enough to get things rolling.

And remember — you only need that 20% that helps you move forward.

Share :
comments powered by Disqus

Related Posts

“React for Beginners: Think in Components, Build Like a Pro”

“React for Beginners: Think in Components, Build Like a Pro”

🐍 What the Hell is Python, and Why Should You Care?? Let’s cut the crap: Python is a programming language — not a snake, not a cult, and definitely not something that’s going to cook your dinner (yet). But if you want to build websites, analyze data, automate boring stuff, or make cool AI bots that talk back to you, Python is your new best friend.

Read More
3D for Beginners: Your First Steps in Three.js

3D for Beginners: Your First Steps in Three.js

🐍 What the Hell is Python, and Why Should You Care?? Let’s cut the crap: Python is a programming language — not a snake, not a cult, and definitely not something that’s going to cook your dinner (yet). But if you want to build websites, analyze data, automate boring stuff, or make cool AI bots that talk back to you, Python is your new best friend.

Read More
MongoDB for Beginners: Store Data the NoSQL Way

MongoDB for Beginners: Store Data the NoSQL Way

🐍 What the Hell is Python, and Why Should You Care?? Let’s cut the crap: Python is a programming language — not a snake, not a cult, and definitely not something that’s going to cook your dinner (yet). But if you want to build websites, analyze data, automate boring stuff, or make cool AI bots that talk back to you, Python is your new best friend.

Read More