banjobongo
KPCKevin Powell - Community
•Created by banjobongo on 11/9/2024 in #front-end
Semantic HTML Question - Does paragraph text have a parent/child relationship with headings?
I am looking for a semantically correct answer. It likely doesn't matter that much, but I've been wondering this for a while.
If I have a heading structure like:
H1
Body Text
-H2
-Body Text
--H3
--Body Text
-Body Text
Based on this structure, there are two body paragraphs at the end. If I wrap the H3 heading and the body text associated with the H3 in a div, would the second body text (bold and italicized) semantically be associated to the H2? Or would I need to add another H2 to refresh the content topic back.
OR - Am I over thinking this lol
5 replies
KPCKevin Powell - Community
•Created by banjobongo on 6/2/2024 in #front-end
Looking for advice on how to build this navigation
15 replies