Nesting headings are important or not?


#1

https://www.codecademy.com/paths/web-development/tracks/learn-html-web-dev-path/modules/learn-html-elements/lessons/intro-to-html/exercises/div-html

Hi, I’d like to ask about headings. So I’ve been playing around with the headings and was curious if nesting headings are important or not?


#2

Headings are not nestable, and they are not intended as sectioning elements or containers. Similar to P elements, they should not contain other block level elements, only inline elements.


#3

Thank you for your prompt response, that clears things up a bit.