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

Even after adding the background-color property it is showing error

<!DOCTYPE html>
<html>
<head>
<title>CSS Selectors</title>
<style>
a:hover {
font-weight: bold;
text-decoration: none;
background-color: yellow;

}
</style>
</head>
<body>
<h1><a href="#">Studytonight</a><h1>
</body>
</html>
by

2 Answers

iamabhishek
Can you share the level number and lesson number so that I can help you.
231999
Level 2 and Lesson 8 {CSS PSUEDO-CLASS SELECTOR}

Thanku For Replying

Login / Signup to Answer the Question.