Home Home Tutorials Exercises About Us
"We keep moving forward, opening new doors, and doing new things, because we're curious and curiosity keeps leading us down new paths." -Walt Disney

"The more you like yourself, the less you are like anyone else, which makes you unique." -Walt Disney

�No matter how weak you are today, if you are God�s child, your potential is greater than your strength because the Lord Almighty is with you.�� Paul David Tripp

Page Title

The <title> tag is required in all HTML documents and it defines the title of the document.

The <title> element:

  • defines a title in the browser toolbar
  • provides a title for the page when it is added to favorites
  • displays a title for the page in search-engine results

To add a title to your page, change your code so that it looks like this:


<!DOCTYPE html>
<html>
<head>
    <title> Getting started with my first web page </title>
</head>
<body>
    This is my first web page
</body>
</html>

We have added two new elements here, that start with the head tag and the title tag (and see how both of these close).

The head element (that which starts with the <head> opening tag and ends with the </head> closing tag) appears before the body element (starting with <body> and ending with </body>) and contains information about the page. The information in the head element does not appear in the browser window.


Related Pages