<!DOCTYPE html>
<html>
<head>
<title>Title of the document</title>
<style>
p {
color: green;
}
p a {
color: inherit;
}
</style>
</head>
<body>
<h1>Example</h1>
<a href="https://www.w3docs.com/">W3docs.com</a>
<p>Visit our
<a href="https://www.w3docs.com/">W3docs.com</a> website.
</p>
</body>
</html>