'align' aligns text or other content within the container : div text « Tags « HTML / CSS






'align' aligns text or other content within the container

  
    
<HTML>
<Title>Example For align</Title>
<BODY>

<div align="justify" 
     style="position:absolute; 
            background-color:#EEEEEE; 
            z-index:5">
  <span>This block of text inside a div element.</span>
</div>
</BODY>
</HTML>

    
      
        
    
  








Related examples in the same category

1.div text-align: left;
2.div text-align: center;
3.div text-align: right;
4.DIV text-align:center;
5.Float text with DIV