0
In HTML,can we put headings in the middle and how???
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>
+ 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;
}