SBS HTML Logo
CLOSE

HTML Page Titles

Page titles will display in your browser tabs and are important for Search Engine Optimization (SEO). Below we will add two new elements to our code; the <head> tag and inside we will place the <title> tag.

<!DOCTYPE html>
<html>
    <head>
        <title>This is my page title.</title>
    </head>
    
    <body>
        My First Web Page
    </body>
</html>
Expand

The Head Element

The head element is where information about your page will be stored. Things like page title, meta data (will be covered later) and other things are placed in this element.

The Title Element

As said previously, page titles are very important for Search Engine Optimization or SEO for short.

Edit your HTML file to match the code above. Save the file and refresh your web browser. You should see your page title at the top of the browser window.

Share This Tutorial

Link To This Tutorial

Tutorial URL
https://stepbystephtml.com/tutorial/15/html-beginner-tutorial

HTML Link

Help Us to Help You

This website and it's tutorials are only made possible with your support. Support money goes towards keeping our servers online.

Link to Us

Spread the word! Let people know about our tutorials by placing links on blogs, websites, forums and other places.

HTML Link

Copyright 2017 Step By Step HTML. All Rights reserved.