I am getting a warning when I try to validate my page in http://validator.w3.org
:
Section lacks heading. Consider using h2-h6 elements to add identifying headings to all sections.
My code is as below :
<section id="slider-wrapper-new"> <div class="slider-container-new"> // some code.. </div> </section>
How can I remove this error ? Do I compulsory need to add h1
-h6
tags inside section heading ?
Either:
h1
, ..., h6
) tag to your section
element.section
element with a div
element.The theme of each
section
should be identified, typically by including a heading (h1
-h6
element) as a child of thesection
element.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With