×
×
Correct!
Set the style for links to pages you have visited to red.
<style>
@(9) {
color: red;
}
</style>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph</p>
<a href="http://w3schools.com">This is a link</a>
</body>
<style>
a:visited {
color: red;
}
</style>
<body>
<h1>This is a heading</h1>
<p>This is a paragraph</p>
<a href="http://w3schools.com">This is a link</a>
</body>
Not CorrectClick here to try again. Correct!<style>w3exercise_input_no_0{ color: red; } </style> <body> <h1>This is a heading</h1> <p>This is a paragraph</p> <a href="http://w3schools.com">This is a link</a> </body> |
This will reset the score of ALL 138 exercises.
Are you sure you want to continue?