Make your own free website on

Javascript Tutorial Part 23 IT Career Partner For Life. Please Bookmark It.
Homework Help | Buy Book | Buy Phone | Top Web Hosts | Hire Web Designer
Home | Interview Questions And Answers | Plan Wedding | Online Tuition
Top Domain Registrars | Hire Freelancer | Hosting Charges | Hindi News

Information inside the Head Element The elements inside the head 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>. Look at the following illegal construct: <head>
<p>This is some text</p>
</head> In this case the browser has two options: Display the text because it is inside a paragraph element Hide the text because it is inside a head 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 illegal. Should browsers forgive you for errors like this? We don't think so. Others do. Head Tags: Start Tag NN IE W3 Purpose <head> 3.0 3.0 3.2 Defines information about the document <title> 3.0 3.0 3.2 Defines the document title <base> 3.0 3.0 3.2 Defines a default reference to external resources <link> 4.0 3.0 3.2 Defines the relationship between two linked documents <meta> 3.0 3.0 3.2 Defines meta information Start Tag NN IE W3 Purpose <!doctype> 3.2 Defines the document type. This tag goes before the <html> start tag. Keywords for Search Engines Some of the search engines on the World Wide Web, will use the description or the keyword attribute of
your meta tags to index your pages. This meta element defines a description of your page: <meta name="description" content="Free Web tutorials on HTML, CSS, XML, and XHTML"> This meta element defines keywords for your page: <meta name="keywords" content="HTML, DHTML, CSS, XML, XHTML, JavaScript, VBScript"> Script Tags:
Previous| Next