Set the color for links to "green". - HTML CSS CSS

HTML CSS examples for CSS:Quiz

Description

Set the color for links to "green".

Demo Code

ResultView the demo in separate window

<!DOCTYPE html>
<html>
<head>
<style>
a {<!--   ww  w  .j a va 2s  . c om-->
    color: green;
}
</style>
</head>
<body>

<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
<p><a href="http://java2s.com">java2s.com</a></p>

</body>
</html>

Related Tutorials