0

In HTML,can we put headings in the middle and how???

4th May 2018, 10:49 AM
Bachir Chaddoud
Bachir Chaddoud - avatar
3 Réponses
+ 1
Header no since by its name it is on the top of the page but the headings <h1> </h1> to <h6></h6> could be placed anywhere. For example: <h1 align="center"> This is a centered heading </h1>
4th May 2018, 11:27 AM
Master Assassin
Master Assassin - avatar
+ 1
Never use the HTML attribute align center, it's deprecated and will be removed from future versions of html.To center your headings (h1 to h6), simply use CSS : h1{ text-align:center; }
4th May 2018, 12:06 PM
CHMD
CHMD - avatar
4th May 2018, 11:15 AM
Master Assassin
Master Assassin - avatar