0
How can i align the images?
3 ответов
+ 7
Use CSS.
<img src="image.png" style="vertical-align:middle" />
+ 4
You can't align an image on img tag itself, alignment need to be done on parent tag:
please check this sample:
https://code.sololearn.com/WL4Trqvv2FdQ/?ref=app
Note that vertical-align only applies to inline and table-cell elements: you can't use it to vertically align block level elements.
+ 3
use align attribute. Example :
<img src="gh.png" align="left"/>