'align' specifies how the element is aligned with adjacent text : img align « Tags « HTML / CSS






'align' specifies how the element is aligned with adjacent text

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

<img src="http://www.java2s.com/style/logo.png" 
     alt="http://www.java2s.com" 
     width="74" 
     height="99" 
     align="baseline">
text text text text text text text text text text text text text 
text text text text text text text text text text text text text 
text text text text text text text text text text text text text 
text text text text text text text text text text text text text 
</BODY>
</HTML>
    

    
      
        
    
    
  








Related examples in the same category

1.Image vertical align 20px
2.vertical align 100 percent image
3.Vertical-align: baseline with image
4.vertical-align: text-bottom and image
5.image vertical align middle
6.image vertical align bottom