Nesting
noun
say it: “NEST-ing” /ˈnɛstɪŋ/
Putting one HTML element inside another, closing the inner one before the outer one, like boxes packed inside boxes.
What is Nesting?
Nesting — Placing one HTML element inside another element.
In a sentence
- “The songs only show as a list because of nesting: each li sits inside the ol.”
- “Thanks to nesting, the Drinks entry on the café menu holds its own smaller list of coffees and teas.”
Level: Novice · More HTML terms at this level
Updated