+ 1

how to use the align attribute and heading tougther in html

3rd Jan 2021, 3:36 PM
pundlik more
pundlik more - avatar
2 Answers
+ 1
I recommend you using style attribute instead because align isn't supported in HTML 5, do following: <h1 style="text-align: center" >text</h1> if you want to align text to the left, use left instead of center value or right if you want to align the text to the right, you can even use justify value, but this one is different, you can search about justify value
3rd Jan 2021, 5:09 PM
MikulĂĄĆĄ Dovhun
MikulĂĄĆĄ Dovhun - avatar
+ 1
thank you :)
4th Jan 2021, 3:03 AM
pundlik more
pundlik more - avatar