+ 1
How can I align headings?
I was trying to align in center a hr6 but it wasnt work.
6 Answers
+ 4
CSS!
<h6>Yo!</h6>
<style>
h6{
text-align: center;
}
</style>
https://code.sololearn.com/WVPF5MxEqEnB/#css
+ 1
HTML: <h6> Headline</h6>
CSS: h6 { text-align: center; }
+ 1
<p align="center">
Freedom lives in html
</p>
0
<h1 align="center"> align in html </h1>
0
<p align="left/center/right">abcd</p>
OR
HTML:<h1>abcd</h1>
CSS:h1{float:. left/center/right;}
0
<h1> <center> HEADER </center > </h1>