+ 2
How can I put the title in the middle
hey guys I've got question In this code https://code.sololearn.com/WiQC7sO6IGiT/?ref=app how can I put the title in the center. #guys I Enter the align="center" but somehow it didn't work or did I make a mistake?
11 Respuestas
+ 3
https://code.sololearn.com/WRTfhrx1IH18/?ref=app
Nilesh center tag not supported in HTML5
reza mousavi 👍🏻
+ 5
Use css
+ 4
Use this :<h1 align="center">About Arsenal</h1>
+ 4
Then p is in centre but not h1
+ 3
Remove p and span,
<h1 align="center">About Arsenal</h1>
or add align center to h1 element instead adding to p,i am not sure why doesn't it work tho
+ 3
so then why <p align="center" ></p> doesn't work?
+ 3
reza mousavi its work u added inline span tag
+ 2
S.Adil yes I got it. these guys changed the placements and I thought that it's on me.
+ 2
hey Guys then the result is this
If I want to keep the <h1> I have to add it to this one and if I delete it I can add it to <p>
right?