HTML Head

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" />

Post Comment
Login to post comments