W3Schools.com

HTML5 <title> Tag

Example

Define a title for your HTML document:

<html>

<head>
<title>HTML5 Tag Reference</title>
</head>

<body>
The content of the document......
</body>
</html>

Try it yourself »

Browser Support

Internet Explorer Firefox Opera Google Chrome Safari

The <title> tag is supported in all major browsers.


Definition and Usage

The <title> tag defines the title of the document.

The title element is required in all HTML documents.

The title element:

  • defines a title in the browser toolbar
  • provides a title for the page when it is added to favorites
  • displays a title for the page in search-engine results

Differences Between HTML 4.01 and HTML5

NONE


Tips and Notes

Note: You can NOT have more than one <title> element in an HTML document.


Global Attributes

The <title> tag also supports the Global Attributes in HTML5.


WEB HOSTING
Best Web Hosting
PHP MySQL Hosting
Best Hosting Coupons
UK Reseller Hosting
Cloud Hosting
Top Web Hosting
$3.98 Unlimited Hosting
Premium Website Design
WEB BUILDING
XML Editor - Free Trial!
FREE Website BUILDER
Best Website Templates Top CSS Templates
CREATE HTML Websites
EASY WEBSITE BUILDER
W3SCHOOLS EXAMS
Get Certified in:
HTML, CSS, JavaScript, XML, PHP, and ASP
W3SCHOOLS BOOKS
New Books:
HTML, CSS
JavaScript, and Ajax
STATISTICS
Browser Statistics
Browser OS
Browser Display
SHARE THIS PAGE