The <head> element is just
a character for all other header elements. It should be the first thing to
appear after the opening <html>
tag.
Each <head> element should
contain a <title> element indicating the title of the document, although
it may also contain any combination of the following elements, in any order:
·
The <base> tag is used to create a “base”
url for all links on the page.
·
The <object> tag is designed to include
images, Javascript objects, Flash animations, MP3 files, QuickTime movies and
other components of a page
·
The <link> tag is used to link to an
external file, such as a style sheet or JavaScript file.
·
The <style> tag is used to include CSS
rules inside the document.
·
The <script> tag is used to include JAVAScript
or VBScript inside the document.
·
The <meta> tag includes information about
the document such as keywords and a description, which are particularly helpful
for search applications
Example:
<head>
<title>HTML Basic
tags</title>
<meta name=”Keywords” content =
“HTML, Web Pages” />
<meta name=”description” content =
“HTML, Basic Tags” />
<link rel=”stylesheet” type
=”text/css” href=”tp.css” />
<script type=”text/javascript”>
_uacct = “UA-232293”;
</script>
</head>
No comments:
Post a Comment