Private archive copy · Unofficial site · Content copyright belongs to Runoob Tutorial and the original authors · View Original

HTML Tag</h1> <article><h2>HTML <title> Tag</h2>

Example

Define a title for your HTML document:

<html>
<head>
<meta charset="utf-8">
<title>

Document title

title

head

<

body

Document content......

body

html

Try it »


Browser support

Internet ExplorerFirefoxOperaGoogle ChromeSafari

All major browsers support tag.</p>


Tag Definition and Usage Notes

The tag defines the title of the document and is required in all HTML documents. element:

Tips and Notes

**Note:** There cannot be more than one element.</p>

**Tip:** If you omit the tag, the document is invalid as HTML.</p>


Differences between HTML 4.01 and HTML5

none.


Global Attributes

The tag supports [HTML Global Attributes](/tags/ref-standardattributes.html).

Related Articles

HTML Tutorial:The HTML head