Hiding an element from rendering and accessibility trees.
- Category: HTML Attributes — part of the HTML Tutorial on GoCareerGo
- Read the short summary above, then check the linked docs for full syntax/behaviour
- Interview tip: be ready to explain "The hidden Attribute" in one sentence, then back it up with a tiny example
<!-- The hidden Attribute -->
<div>
<!-- see MDN for the full attribute/tag reference -->
</div>Tip
Quick recall: "The hidden Attribute" — hiding an element from rendering and accessibility trees.