+ 1

How can I align headings?

I was trying to align in center a hr6 but it wasnt work.

19th Feb 2017, 11:17 AM
Babis Orfanidis
Babis Orfanidis - avatar
8 Antworten
+ 4
CSS! <h6>Yo!</h6> <style> h6{ text-align: center; } </style> https://code.sololearn.com/WVPF5MxEqEnB/#css
19th Feb 2017, 11:25 AM
Schindlabua
Schindlabua - avatar
+ 1
HTML: <h6> Headline</h6> CSS: h6 { text-align: center; }
19th Feb 2017, 11:25 AM
Mario L.
Mario L. - avatar
+ 1
<p align="center"> Freedom lives in html </p>
19th Feb 2017, 9:34 PM
Freedom.G Nxumalo
Freedom.G Nxumalo - avatar
0
<h1 align="center"> align in html </h1>
19th Feb 2017, 11:57 AM
Raj Kumar Chauhan
Raj Kumar Chauhan - avatar
0
<p align="left/center/right">abcd</p> OR HTML:<h1>abcd</h1> CSS:h1{float:. left/center/right;}
21st Feb 2017, 9:14 AM
Ayush
Ayush - avatar
0
<h1> <center> HEADER </center > </h1>
26th Feb 2017, 3:27 AM
Abhishek Sankpal
Abhishek Sankpal - avatar