Make UL LI and P inline - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:UL Horizontal

Description

Make UL LI and P inline

Demo Code

ResultView the demo in separate window

<html>
 <head> 
  <style>
ul li p {
   display:inline;
}
</style> <!-- w w w  . j a v a 2s  .c  om-->
 </head> 
 <body> 
  <ul> 
   <li> <label> Label: </label> <p>I am label 1 </p> </li> 
  </ul>  
 </body>
</html>

Related Tutorials