Add space with margin-bottom between the li in ul - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Element

Description

Add space with margin-bottom between the li in ul

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <style id="compiled-css" type="text/css">
ul li
 {
   margin-bottom:11px;
}
</style> <!-- www. ja  va2 s .  c om-->
 </head> 
 <body> 
  <ul> 
   <li>Lor</li> 
   <li>Lor</li> 
   <li>Lor</li> 
   <li>Lor</li> 
   <li>Lor</li> 
   <li>Lor</li> 
  </ul>  
 </body>
</html>

Related Tutorials