HTML - Head

The <head> element is a container for metadata and is placed between the <html> tag and the <body> tag.In HTML metadata is data about the HTML document metadata is not displayed.the following tags describe metadata.

      <title>

      <style>

      <meta>

      <link>

      <script>

      <base>

<title>...</title>


<html>
<head>
	<title>This is Document Title</title>
</head>
<body>

</body>
</html>
							

<style>...</style>


<html>
<head>
<title>Style Tag</title>
<style>
state {
    background-color:purple;
    color: white;
    margin: 20px 0 20px 0;
    padding: 20px;
}
</style>	
</head>
<body>

</body>
</html>						
							

<meta>...</meta>


<html>
<head>
<title>Meta Tag</title>
<meta name="Description" content="Document Description"<
<meta name="Keywords" content="Document Keywords"<	
</head>
<body>

</body>
</html>
							

<link>...</link>


<html>
<head>
<title>Links>/title>
<link rel="stylesheet" href="style.css">
</head>
<body>

</body>
</html>
							

<script>...</script>


<html>
<head>
<title>Script>/title>
<script type="text/javascript" src="jquery.js"></script>
</head>
<body>

</body>
</html>
							

<base>...</base>


<html>
<head>
<title>Base>/title>
<base href="https://www.virtualhax.com/" target="_blank">	
</head>
<body>

</body>
</html>
							
Share Share on Facebook Share on Twitter Share on Google+ Share on LinkedIn Pin on Pinterest Share on Stumbleupon Share on Tumblr Share on Reddit Share on Diggit