Title Tag

An HTML tag that signifies the title of a page is the <title> tag. Contrary to what may be expected, the title tag isn’t responsible for the headline visible on a web page—that role is designated to the H1 tag. Instead, text within the title tag typically appears at the top of the browser window or in a tab label. Title tags play a crucial role in search engine optimization (SEO) and should incorporate one or more relevant keywords to enhance search engine ranking.

Example

An example of a title tag in HTML code might look like this:

“`html

<!DOCTYPE html>

<html lang=”en”>

<head>

    <meta charset=”UTF-8″>

    <meta name=”viewport” content=”width=device-width, initial-scale=1.0″>

    <title>Example Page Title</title>

</head>

<body>

    <h1>This is the headline of the page</h1>

    <p>This is the content of the page.</p>

</body>

</html>

“`

In this example, `<title>Example Page Title</title>` defines the title of the webpage, which would typically appear in the browser’s title bar or tab.