Happy Codings - Programming Code Examples
Html Css Web Design Sample Codes CPlusPlus Programming Sample Codes JavaScript Programming Sample Codes C Programming Sample Codes CSharp Programming Sample Codes Java Programming Sample Codes Php Programming Sample Codes Visual Basic Programming Sample Codes


HTML & CSS Web Design

Html Css > Code Examples

Add style to an anchor in a LI tag

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
Add style to an anchor in a LI tag <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>