22 lines
379 B
HTML
22 lines
379 B
HTML
<html>
|
|
<head>
|
|
<title>Add style to an anchor in a LI tag</title>
|
|
<style type="text/css">
|
|
|
|
li a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<ul>
|
|
<li><a href="http://www.happycodings.com">X</a></li>
|
|
|
|
<li><a href="http://www.happycodings.com">Y</a></li>
|
|
|
|
<li><a href="http://www.happycodings.com">Z</a></li>
|
|
</ul>
|
|
</body>
|
|
</html> |