+ 1
Where do i put the align attribute in the img tag
4 Answers
+ 4
@Sergio Araya Villalobos: the css property name for alignement is 'text-align' and not 'align' ;P
@Stephen Asmah: check again the thread linked in the first answer, I've posted a new answer ^^
+ 3
align is no more used.. for styling your html use css..
but in html u can enclose your image in a block element and then can use the align attribute to the block element.
ex: <p align="center"><img src="image_name.jpg"></p>
+ 2
better use css for styling html, it will make your code easier to maintain.
img{
align:center;
}