I wrote the following code. In my head its suppose to produce a green head, with a light blue body. However it is not so can someone explain why?
<!DOCTYPE html>
<html>
<head>
<style>
head{
background-color: green;
}
body{
background-color: lightblue;
}
.hrefcolor{
text-decoration: none;
color: blue;
}
</style>
<title>practice.Com</title>
<center>
<h1 ><a href="#3"class="hrefcolor">〚About Me〛</a> <a href="#" class="hrefcolor">〚Resume〛</a></h1>
</center>
</head>
<body>
<p>sdfsdf</p>
</body>
</html>