HTML Head

41 views

The head of an HTML document contains special information, like its title. The head of a document is demarcated by <head> and </head> respectively.

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>.

<html>

<head>
<title>Title of the document</title>
</head>

<body>
text

text
</body>

</html>

HTML Title tag used.

<html>

<head>
<title>Tag Reference</title>
</head>

<body>
The content of the document……
</body>

</html>

HTML Link tag used.

How to use the <link> tag to link to an external style sheet:

<head>
<link rel=”stylesheet” type=”text/css” href=”home.css”/>
</head>

HTML Meta tag used.

The <meta> element provides meta-information about your page, such as descriptions and keywords for search engines and refresh rates.

 search engines:
<meta name=”eywords” content=”HTML, DHTML, CSS, XML, XHTML, JavaScript, VBScript” />

 web page:
<meta name=”description” content=”Free Web tutorials on HTML, CSS, XML, and XHTML” />



« HTML Style HTML Url »
Posted on Wednesday, June 25th, 2008 at 11:47 am under HTML For Advanced | RSS 2.0 Feed

Post Comment

You must be logged in to post a comment.



ComputerEducationWorld.com All Rights Reserved © RSS | CBSE | Education Boards Of India | What is My IP?