New course! Every coder should learn Generative AI!
Try a free lesson+ 3
How to make image align center
2 Answers
+ 3
img {
margin:auto;
}
+ 3
You can use <p align="center"> before image tag, and close </p> tag after image tag.
You also can see others code that what they did to align center a image.