Can’t align a image | Sololearn: Learn to code for FREE!

+1

Can’t align a image

I can’t seam to align a image in html. Can anyone help? https://code.sololearn.com/W5lNVlDO9iRW/?ref=app

1/4/2022 1:19:25 AM

Jeffrey Montanari Jr

4 Answers

New Answer

+4

https://code.sololearn.com/WrMCfzpzYAz0/?ref=app

+4

Use this <body align="center">

+2

body { background-color: #fff; } img{ margin-left:50%; margin-right:50%; color: #a6d8f9; }

+1