Friday, July 1, 2011

<*HTML>

HTML html 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 html tag is the container that contains all other HTML elements (except for the !DOCTYPE tag which is located before the opening html tag). All other HTML elements are nested between the opening <*html> and <*/html> tags.

Example



<*!doctype html public "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://dkdashing.blogspot.com/">
<*html>
<*head>
<*title>HTML meta tag<*/title>
<*/head>
<*body style="background-color:orange">
Document content goes here
<*/body>
<*/html>


Attributes: Attributes specific to this tag:


DK DASHING


Version------Specifies the HTML DTD version of the document. The version attribute is deprecated - use the !doctype tag instead.

Content------Specifies the property's value.

Scheme-------Specifies a scheme to use to interpret the property's value (as declared in the content attribute).

http-equiv---Used for http response message headers. For example http-equiv can be used to refresh the page or to set a cookie.
Other Attributes:



Attribute----Description
Lang----Language code
Dir----Specifies the direction of the text