+ 1

Why only 6 level of heading is provided? What if I need more than 6 headings?

1st Sep 2019, 5:14 AM
Pragarthi Muthukumar
Pragarthi Muthukumar - avatar
7 ответов
+ 1
Do you want it to be in html element or do you want to use css? HTML element: <h1 style="font-size:100px;">test</h1> CSS:(In css file) h1 { font-size: 100px; }
1st Sep 2019, 5:22 AM
Ole113
Ole113 - avatar
+ 1
If you need more options you can customize any font size with CSS font-size attribute.
1st Sep 2019, 5:15 AM
Ole113
Ole113 - avatar
+ 1
Thank you so much
1st Sep 2019, 5:27 AM
Pragarthi Muthukumar
Pragarthi Muthukumar - avatar
+ 1
Trust me... 6 is plenty. That said, you can style these differently in different nested tags. Examples can be: <article id="main"> <h1>Main Title</h1> <h2>Sub Title A</h2> <p>...</p> <h2>Sub Title B</h2> <p>...</p> </article> <article id="sub-content"> <h1>Sub Content Title</h1> <h2>Sub Title A</h2> <p>...</p> <h2>Sub Title B</h2> <p>...</p> </article> Then you can style the h1, h2, etc tags differently with CSS like this: #main h1{...} #main h2{...} #sub-content h1{...} #sub-content h2{...} I don't think I've ever used all 6 headers hierarchically before. Usefully stop at h3, and maybe, sometimes h4.
1st Sep 2019, 7:34 AM
David Carroll
David Carroll - avatar
0
In html?
1st Sep 2019, 5:16 AM
Pragarthi Muthukumar
Pragarthi Muthukumar - avatar
0
Is better for tags to add attributes in the separate file CSS. Add attributes in html file it is considered bad form
1st Sep 2019, 6:56 AM
Yaroslav Vernigora
Yaroslav Vernigora - avatar