HTML " < title > " tag (tag) - set the title of the page

 There must be one (and only one) <title> tag in an HTML page, and <title> is used to describe the title of the page.

The page title will usually be in:

  • Bookmarks (favorites, bookmarks) displayed in the browser
  • Display on the browser tab (tab, toolbar)
  • Shown in the web search results of search engines

Usage example:

<!DOCTYPE html>
<html>
<head>
  <title>My first web page</title>
</head>
<body>
  <!-- blah blah -->
</body>
</html>
The <title> tag is placed inside the <head> tag.

Post a Comment

0 Comments