Place text on the left, center and right of a line without a table - HTML CSS CSS Widget

HTML CSS examples for CSS Widget:Table Text

Description

Place text on the left, center and right of a line without a table

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">
div {<!--  www . jav  a2  s.c om-->
   display:flex;
   justify-content:space-between;
}
</style> 
 </head> 
 <body> 
  <div> 
   <p>Lore</p> 
   <p>Lorem </p> 
   <p>Lorem</p> 
  </div>  
 </body>
</html>

Related Tutorials