Tuesday 3 May 2011

HTML head Elements


HTML head Elements
The head element is a container for all the head elements.

A simplified HTML document :-
<html>
<head>
<title>Title of the document</title>
</head>

<body>
The content of the document......
</body>
</html>

The HTML base Element :-
<head>
<base href="http://www.w3schools.com/images/">
<base target="_blank">
</head>

The HTML link Element :-
<head>
<link rel="stylesheet" type="text/css" href="mystyle.css">
</head>

The HTML style Element :-
<head>
<style type="text/css">
body {background-color:yellow}
p {color:blue}
</style>
</head>

All HTML head Elements are below :-
<head>, <title>, <base>, <link>, <meta>, <script>, <style>

No comments:

Post a Comment