programming-examples/css/Add style to an anchor in a LI tag.html
2019-11-15 12:59:38 +01:00

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>