HTML CSS examples for CSS Widget:UL Element
Change list-style-type if it has a hyperlink
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> li {<!--from w w w . ja v a 2 s . c o m--> list-style-type:circle; } li:hover a { display:list-item; list-style-type:disc; } </style> <script type="text/javascript"> </script> </head> <body> <ul> <li> <a href="jsfiddle.net">Lore</a> </li> <li>Lorem ipsum</li> </ul> </body> </html>