<HEAD> tag is used to specify the head content in HTML document. The following tags can be in the head section: <base>, <link>, <meta>, <script>, <style>,  and <title>.

 

 

 

 

<HTML>
  <HEAD>
    <TITLE>DEMONSTRATING TITLE INFORMATION IN HEAD SECTION.</TITLE>
  </HEAD>
<HTML>


<Head> Optional Attribute :
profile specifies the URL of one or more meta data information.
Profile value is a space separated list of URLs.

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.