How to use title tag in HTML Page?

HTMLWeb DevelopmentFront End Technology

The title is essential in all the HTML Documents. To define the title of a document, use the <title> tag. The title of a document is visible on the web browser toolbar and the search engine results in display title for an HTML page.

Just keep in mind that you should add <title>...</title> tag inside <head>…</head> tag.

Example

You can try the following code to insert a title in an HTML page. The title will be visible on the web browser toolbar

Live Demo

<!DOCTYPE html>
<html>
   <head>
      <title>HTML Title Tag</title>
   </head>

   <body>
      <p>The content of the documents gets added here.</p>
   </body>
</html>
raja
Published on 18-Jan-2018 09:58:57
Advertisements