May 11, 2009

0 Head element

the head element contains general information, also called meta-information, about a document. Meta means "information about".

You can say that meta-data means information about data, or meta-information means information about information.

Information inside the Head Element

The elements inside the head element should not be displayed by the browser.
According to the HTML standard, only a few tags are legal inside the head section. These are:<base>, <link>, <meta>, <title>, <style> and <script>.
-------------------------------------------------------------------------------------------------

<head>
<p> This is some text </p>
</head>

In this case browser has two options

Display the text because it is inside a paragraph element.

Hide the text because it is inside a page element

If you put an HTML element like <h1> or <p> inside a head element like this, most browsers will display it, even if it is not allowed.

0 comments:

Post a Comment

Blogger Themes

 
Powered by Blogger