Changing the link background

Report a typo

Let's have a look at the following HTML code. Write a selector that will highlight the first link with a red background color.

Write HTML and CSS code
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="style.css">
<meta charset="utf-8">
</head>
<body>
<a href="">Link to nowhere</a><br>
<a href="">Another link to nowhere</a>
</body>
</html>

Completed 1 of 2
Write a selector that will highlight the first link with a red background color
The code is valid
___

Create a free account to access the full topic