Loading...
Loading...

Setting the Title of Your Web Page

The title of your HTML page is what users see at the top of the browser tab. It’s the name of your page and should give a clear idea of what the page is about. It also helps search engines understand your page.

Asked Question: How to add a title to my HTML page ?

<title>Your Web Page Title</title>
  

In this example, the title is "Your Web Page Title". This is added between the <title> tags inside the <head> section of the HTML. When users open the webpage, this text shows up in the browser tab.


<!DOCTYPE html>
<html>
  <head>
    <title>Your Web Page Title</title> 
  </head>
  
  <body>
    <h1>Welcome to my website!</h1>
    <p>This is some content on my web page.</p>
  </body>
</html>
  

Heads Up! Your page title should clearly describe the page's content. This helps both users and search engines understand what your page is about. If your page is about web design tips, call it "Web Design Tips" rather than something vague.

0 Interaction
910 Views
Views
13 Likes
×
×
×
🍪 CookieConsent@Ptutorials:~

Welcome to Ptutorials

$ Allow cookies on this site ? (y/n)

top-home