+ 1
How to center an image?
In html only
2 ответов
+ 4
<div> is an html tag which is mostly used as a container. You may think it like a bowl where you can put your stuffs. In our case, we put an image inside the div.
+ 2
Here's how you center an image :
https://code.sololearn.com/WnUcty20cOGi/?ref=app
Make sure to play with the code :)) If you don't get the code, let me know!