Hi. I found out that attributes of an element that has descendant or child elements are inherited by these descendants.
For example:
<div contenteditable="true" spellcheck="true">
<p>Some random editable text</p>
</div>
The paragraph inside the div will be content-editable and have spellchecking.
Is that the case with every attribute in HTML? Or are there exceptions?