+ 1

Using the html atteibute align= "center", why does it for the header work, but not for the paragraph and picture?

<html> <body> <h1 align="center">Sir Francis Drake</h1> <br /> <strong align="center">Consultant for clown issues </strong > <br /> <img scr="https://cdn2.iconfinder.com/data/icons/avatars-99/62/avatar-370-456322-512.png" align="center" alt="Profil Foto" width= "150px" > </body> </html>

6th Jan 2023, 1:00 AM
Franca
Franca - avatar
2 odpowiedzi
+ 1
You have to create that paragraph first, like: <p align="center"><h1></h1><img src=""></p> Also, using align in strong tag doesn't make any sense.
6th Jan 2023, 1:23 AM
Mateusz Kempa
Mateusz Kempa - avatar
+ 1
Thanks, that helped me a lot!
6th Jan 2023, 1:38 AM
Franca
Franca - avatar