DOUBT IN HTML | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

DOUBT IN HTML

Why can i put the image on centre as i done code like this: <img src="....." align="center" alt="" /> and it also work for left and right but not for centre.

15th Aug 2018, 6:24 PM
Het Patel
Het Patel - avatar
1 Answer
+ 8
as html5 doesn't support aling attribute and center most of cases so better to use css margin property..
15th Aug 2018, 8:09 PM
Scooby
Scooby - avatar