New course! Every coder should learn Generative AI!
Try a free lesson+ 6
how to align image to the center
3 Answers
+ 6
try this in CSS
img { display: block; margin: 0 auto; }
+ 6
If I should put it in head what will be in body
+ 5
Your image will be in the body 😕