Title Tag

title tag is an HTML element that specifies the title of a web page.  So, whatever title you want to give your website, you write it in the title tag.

Function of title tag

The <titletag is required in all HTML documents and it defines the title of the document. The <titleelement: defines a title in the browser toolbar.

EXAMPLE

<html>
<head>
<title>
Codingknack
</title>
</head>
<body>
<p>This is my<span>first web page</span></p>
<p>My first website</p>
</body>
</html>

OUTPUT

From this picture you can easily get understanding about title.

Title-in-html
ChromeFirefoxIEOperaSafariAndroid
   Yes YesYes  YesYesYes

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Close Menu