From the FAQ:
<HEAD>
<style type="text/css">
<!--
a:link {color:#000000 ; text-decoration: none; }
a:active {color: #000033; text-decoration: none; }
a:visited {color: #000066; text-decoration: none; }
a:hover {color: #003300; text-decoration: underline; }
-->
</style>
</HEAD>
That's how you can change the color of the different states of the link, that is, the text the you click on to take you to another web page. But in my beginning HTML book, it says there are three types of style sheets: External (a separate page such as styles.css), internal, where you have the style tag inside the head tag as shown above (this will cause those settings to be applied to every link on that page), and finally inline, where "style" is an attribute of the tag (this will obviously only apply to that one specific link). Each type of style will override the previous one (internal will override external, inline will override internal and external). So what I want to know is, how do I translate the above style into an inline style. I can get the color to change with this:
<a href="sessions.html" style="color: red;">Sessions</a>
That will change the color of the link text to red. But how do I change the other aspects of a link. For example, the hover color, and the active color. Following doesn't work:
<a href="sessions.html" style="color: red; hover: green;">Sessions</a>
<HEAD>
<style type="text/css">
<!--
a:link {color:#000000 ; text-decoration: none; }
a:active {color: #000033; text-decoration: none; }
a:visited {color: #000066; text-decoration: none; }
a:hover {color: #003300; text-decoration: underline; }
-->
</style>
</HEAD>
That's how you can change the color of the different states of the link, that is, the text the you click on to take you to another web page. But in my beginning HTML book, it says there are three types of style sheets: External (a separate page such as styles.css), internal, where you have the style tag inside the head tag as shown above (this will cause those settings to be applied to every link on that page), and finally inline, where "style" is an attribute of the tag (this will obviously only apply to that one specific link). Each type of style will override the previous one (internal will override external, inline will override internal and external). So what I want to know is, how do I translate the above style into an inline style. I can get the color to change with this:
<a href="sessions.html" style="color: red;">Sessions</a>
That will change the color of the link text to red. But how do I change the other aspects of a link. For example, the hover color, and the active color. Following doesn't work:
<a href="sessions.html" style="color: red; hover: green;">Sessions</a>