0

I have created the code in which the h1 welcome to dubai is aligned in the centre but in the output it is shown left.

https://code.sololearn.com/WRA5fWJSQM21/?ref=app

28th Aug 2022, 8:31 AM
Srisha Dornala
Srisha Dornala - avatar
1 Réponse
+ 1
Try this in CSS: h1{text-align:center;}
29th Aug 2022, 9:54 AM
praneetha
praneetha - avatar