<TITLE> tag specifies the title for the html document. Below shows <TITLE> tag in head section of the HTML document.

 

 

 

 

 

 
 figure above shows title of the html document in I.E browser.

<HTML>
  <HEAD>
    <TITLE>DEMONSTRATING TITLE TAG</TITLE>
  </HEAD>
<HTML>


Other Attributes :
Internationalization Attributes lang, dir.

  Below describe the attributes for <HEAD> tag in detail.


Internationalization Attributes

Attribute Syntax Description
DIR <ELEMENT DIR = stDir... >

Sets the text direction

stDir = attribute value for DIR

Attribute value for DIR is the directionality of text from left-to-right (DIR=ltr, the default) or right-to-left (DIR=rtl).

LANG <ELEMENT LANG = stLang... >

Sets the language code

stLang = attribute value for LANG

Attribute value for LANG is non space-separated, case-insensitive with the following values : (LANG=en) for English, (LANG=ja) for Japanese and etc.