0
Centered header
I've noticed that, when I try to move a header with the code <h1>text</h1>, to the middle , with the help of the tag <p align="center"> , It does not move to the center of the page! What is causing this? I don't get error-message either. best regards from a complete newbie. my text goes like this: <html> <head> <title>My very first HTML-page!</title> </head> <body> <p align="center"> <h1>Welcome to my very first webpage!</h1> </p> </body> </html>
2 ответов
+ 1
the correct syntax is :
<h1 style="align:center;"> your message </h1>
+ 1
Thank you so much!