Man..i cant align heading <h1>using align="centre"...it keeps appearing in extreme left..plz help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Man..i cant align heading <h1>using align="centre"...it keeps appearing in extreme left..plz help

headings..exaole <h1>

6th Nov 2016, 2:11 PM
itsme SAP;)
itsme SAP;) - avatar
2 Answers
+ 1
Use text-align: center dear Align attribute in html5 is deprecated and that's why now you have to use css for every purpose and if that text-align still didnt works then mark it important and it will overwrite every other css which is handling it's alignment and give the preference to u
6th Nov 2016, 3:09 PM
Shivani
0
omg!..i was making spelling mistake..center not centre..thanks!
6th Nov 2016, 3:10 PM
itsme SAP;)
itsme SAP;) - avatar