3 ms·
Child elements are different from attributes because elements can be structured (with attributes, other elements etc.) and repeated within the same parent eleme
by HelloNurse 6y ago
Child elements are different from attributes because elements can be structured (with attributes, other elements etc.) and repeated within the same parent element. On the down side, elements are a little more verbose and whitespace needs some attention.
This restricts attributes to zero or one unstructured values, which is more than a "style guideline".