HTML CSS examples for CSS Widget:UL Element
Modifying list title in HTML
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> li {<!--from w ww .j av a 2 s.c o m--> color:Chartreuse; } :not(li)>ul>li { color:yellow; } </style> </head> <body> <ul> <li>Lorem ipsum <ol> <li>Lorem ipsu</li> <li>Lorem </li> <li>Lorem ipsum do</li> </ol> </li> <li>Lorem <ul> <li>Lorem</li> <li>Lorem ipsum dol</li> </ul> </li> </ul> </body> </html>