HTML Page Title

Every webpage deserves a name—it’s like the sign above a shop door, telling the world what’s inside. In HTML, that’s the job of the <title> tag. It’s super simple to use, lives in the <head> section, and shows up in your browser tab. Plus, it’s one of those little details that makes your site feel legit. Let’s get into it!

You pop the <title> tag inside <head>, like this:

<head>
<title>Learn HTML | Meri Pariksha</title>
</head>
<body>
<p>Hey, welcome!</p>
</body>

Save that, open it in a browser, and “Learn HTML | Meri Pariksha” will sit pretty in the tab. It’s also what shows up when someone bookmarks your page or sees it in search results. No <title>, and you’re stuck with some boring file name like “index.html”—yawn.

Here’s where it gets fun: you can say whatever you want! Keep it short and snappy, though—browsers cut off long titles.

I’ve tried stuff like:

<title>Yogesh’s Blog – Thoughts & Stuff</title>

That little dash adds flair and hints at what’s on the page. It’s not just for looks, either—search engines peek at it to figure out your site’s vibe, so it’s worth making it clear.


One time, I forgot the closing </title> tag, and my page still worked, but it’s sloppy—don’t skip it. Also, every page on your site should have its own unique title. If you’ve got a "homepage" and an “About” page, do this:

<!-- Homepage -->
<title>Ajay’s Corner – Home</title>
<!-- About page -->
<title>Ajay’s Corner – About Me</title>

It keeps things organized and helps folks (and Google) know where they’re at.


Try it out next time you’re coding. Pick a name that feels like you—maybe “Sarah’s Art Spot” or “Mike’s Game Reviews” — and watch your tab light up. It’s a tiny step that makes your webpage feel like it’s ready to roll!

How-To Guides for HTML

No How-To Guide is available right now.

Keep Learning & Level Up!

Enhance your HTML skills with our in-depth tutorials and interactive quizzes.

Explore HTML Quiz