HTML CSS examples for CSS Widget:UL Element
Setting non-numerical list values
<html> <head> <meta name="viewport" content="width=device-width, initial-scale=1"> <style id="compiled-css" type="text/css"> li<!-- ww w. j a v a 2 s. c om--> { list-style-position:inside; } li[value=""] { display:block; } li[value=""]:before { content:"NNO. "; } </style> </head> <body> <ol> <li value="">Lorem</li> <li value="4">Lorem </li> <li value="123">Lorem </li> <li value="">Lorem</li> <li value="42">Lorem </li> </ol> </body> </html>