Skip to content
Sign upLog in
← Back to Community

how you put a image in center ?

Profile icon
NIHALRANJANRANJ

how to do you put an image in center in css

Voters
Profile icon
NIHALRANJANRANJ
Comments
hotnewtop
Profile icon
sn236

Why do it with css when you can do it simply in html.
use the center tag

Before the image tag and after the image tag.
Note - It can be done in css but sometimes it doesn't work