Forum Moderators: open
<aside width="10px">
<nav>
<ul>
<a href="index.html" alt="Smiley face" width="42" height="42"><li>Home</li></a>
<a href="index.html" alt="Smiley face" width="42" height="42"><li>Refresh</li></a>
<a href="about.html" alt="Smiley face" width="42" height="42"><li>About Us</li></a>
<a href="contact.html" alt="Smiley face" width="42" height="42"><li>Contact Us</li></a>
</ul>
</nav>
<br><br><br><br><br><br>
<img src="images/html5.png" height="100" width="100" style="position:relative; left:0px;">
<br><br><br><br><br><br>
</aside>
nav a li:hover{text-decoration: underline overline;
font-size:36;
font-weight:bold;
color:green;}/* Does work */
nav a li:active{text-decoration: none;
color:white;} /* Does work */
nav a li:link{color:blue;}/* Does not work */
nav a li:visited{color:red;}/* Does not work */
<a href="contact.html" alt="Smiley face" width="42" height="42"><li>Contact Us</li></a> <li><a href="contact.html" alt="Smiley face" width="42" height="42">Contact Us</a></li> is the usual order. The way it is written, the 'li' element controls the appearance of your link text, not the 'a:' element. width="10px"is not used with html5. These coding/doctype mismatches cause browsers to use "Quirks Mode" where they try to guess at things.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">