The <title> tag is used to define the title of webpage.This tag is necessary in all webpages.It is useful tag that defines a tittle in browser toolbar,provides a tittle for the page when you bookmark that page,display a title for the page in search-engine results. You can not add more than one <title> tag in an HTML document.It defines inside tags,before starting body tag.It also have opening and closing tags.It is an HTML5 tag.

You can understand use of <title> tag by a simple example:-

e.g.

<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
</head>
<body>
<p>
The title tag is added inside <head> tag. </p>
</body>
</html>


Result:- The title tag in browser toolbar look like it.
title-tag


Conclusion:--

So the <title> tag is used to define title of webpage.

<title> tag का उपयोग वेबपेज का title देने के लिए किया जाता है इस tag के कारण ही ब्राउज़र के टूलबार में आपके वेबपेज का टाइटल दिखाई देता है

0 comments:

Post a Comment