+ 1

How to center an image?

In html only

2nd May 2020, 2:50 PM
Fa'id Rusyan Kimiantory
Fa'id Rusyan Kimiantory - avatar
2 Réponses
+ 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.
2nd May 2020, 2:59 PM
Arb Rahim Badsa
Arb Rahim Badsa - avatar
+ 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!
2nd May 2020, 2:53 PM
Arb Rahim Badsa
Arb Rahim Badsa - avatar