HTML Tags

HTML <title> Tag

The <title> tag defines the title of the document, shown in the browser tab, bookmarks, and search engine results.


What is the <title> tag?

The <title> element defines a document's title that is displayed in the browser's title bar or tab. It also appears as the clickable headline in search engine results and as the default name when a user bookmarks the page. It must be placed inside the <head> and can contain text only.

Syntax

<title>Page Title Here</title>

Complete example

<!DOCTYPE html>
<html lang="en">
  <head>
    <title>Internships in Bengaluru — MyInternships.in</title>
  </head>
  <body>
    <p>Check the browser tab to see the title.</p>
  </body>
</html>
💡

Keep titles concise and descriptive, ideally under about 60 characters, and unique for every page. This is one of the most important on-page SEO signals.

There must be exactly one <title> per document. The element supports only global attributes and is supported in every browser.

Ready to use your HTML skills?

Find web development internships and fresher jobs across India.

Browse Web Dev Internships