HTML title Tag
The information on this page is based on HTML version 4.01 (which is the current version of HTML). The next version, HTML 5, is currently being written. Here's a list of HTML 5 tags.
The HTML <title> tag is used for declaring the title of the HTML document.
The title is usually displayed in the browser's title bar (at the top). It is also typically used by search engines (to display the page title in the search results page) and browsers "favorites" lists.
The title tag is placed between the opening and closing <head> tags.
| Example |
<!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>HTML title tag</title>
</head>
<body style="background-color:orange">
Document content goes here
</body>
</html>
|
| Attributes: |
| Attributes specific to this tag: |
| Attribute | Description |
| None | |
| Other Attributes: |
| Attribute | Description |
| lang | Language code |
| dir | Specifies the direction of the text |
|
Also see the HTML 5 version of HTML tags
Enjoy this website?
- Share
- Add this page to your Favorites
- Link to this page (copy/paste into your own website or blog):
- Link to Quackit using one of these banner ads.
- Help support Quackit by making a donation
Oh, and thank you for supporting Quackit!