www.casino.nf All Tricks and Tips,PHP,HTML,.NET,SEO,XML

HTML Head

                   



                        HTML Head

Within <HTML>, the document has two sections to it: <HEAD> and <BODY ...>.

<HEAD> is like the cover page of the document.
Just as the cover page of a book contains information about the book (such as the title), the <HEAD> section contains information about the document.

This information is communicated through the <TITLE> tag (which is required) and the <LINK ...> and <META ...> tags.

The title information inside a head element is not displayed in the browser window.



Information Inside the Head Element

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

The elements inside the head element should not be displayed by a 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>
    <title>My page title</title>
</head>



Head Tags

Tag Description
<head> Defines information about the document
<title> Defines the document title
<base> Defines a base URL for all the links on a page
<link> Defines a resource reference
<meta> Defines meta information
Tag Description
<!DOCTYPE> Defines the document type. This tag goes before the <HTML> start tag.