Thursday, 3 January 2013

HTML 5 basic tutorials part 7


hi all i'm Vishnu Sharma and in this article we are going through the tag which are used in the head tag.some the tag that are used in the head tag are 
1.title2.style3.meta4.link

<Title>

 the title tag are used for adding the title to your website

<!doctype><html>
<head>
<title>welcome</title>
</head>
<body>
<p>this is example of the Meta tag</p>
</body>
</html>

<Style>

the style tag are used to link the CSS to your web page

<!doctype><html>
<head>
<style type="text/css">
body {background-color:yellow}
p {color:blue}
</style>
</head>
<body>
<p>this is example of the head tag</p>
</body>
</html>


<Meta>

the meta tag are used to describe the web page for search engine
e.g.
<!doctype><html>
<head>
<meta name="keywords" content="HTML, CSS, XML, XHTML, JavaScript">
</head>
<body>
<p>this is example of the head tag</p>
</body>
</html>

<Link>

The link tag are used to link the JavaScript, css, and   other libery to your web page

<!doctype><html>
<head>
<link rel="stylesheet" type="text/css" href="mystyle.css">
</head>
<body>
<p>this is example of the head tag</p>
</body>
</html>

0 comments:

Post a Comment