Signup/Sign In
Ask Question
Not satisfied by the Answer? Still looking for a better solution?

Level 2 > lesson 8

<!DOCTYPE html>
<html>
<head>
<title>CSS Selectors</title>
<style>
a{
font-weight: bold;
text-decoration: none;
}
</style>
</head>
<body>
<h1><a href="#">Studytonight</a><h1>
</body>
</html>
by

1 Answer

iamabhishek
Here is the correct answer:

<!DOCTYPE html>
<html>
<head>
<title>CSS Selectors</title>
<style>
a:hover{
background-color:yellow;
}
</style>
</head>
<body>
<h1><a href="#">Studytonight</a><h1>
</body>
</html>

Login / Signup to Answer the Question.