+ 3
Center doesnât work
Can anyone please explain why the text is not aligned in the center? <p align=âcenterâ> <h1><i>First code</i></h1> </p> https://code.sololearn.com/W9JwNTSL02ls/?ref=app
5 RĂ©ponses
+ 6
try this :
<h1 align="center"><i>Hello There</i></h1>
You don't need p tag.
Don't use p and h tags together!
+ 4
Seems centred now. Maybe because of voja 's suggestion.
+ 3
voja thank you so much
+ 1
Thanks for the help Coder im still in the beginning of learning html i just learned yesterday about block and inline tags so thank you. btw where did you learn coding only here on sololearn or on different places?