23 ms·
There is no need for optional attributes in the first place, because you can always just do this: <thing> <optattr>42</optattr> ... </thing> ins
by kazinator 8y ago
There is no need for optional attributes in the first place, because you can always just do this:
<thing>
<optattr>42</optattr>
...
</thing>
insteadof
<thing optattr="42">
...
</thing>
Attributes exist in order to create a more compact syntax within XML/HTML tags, in ironic recognition of these notations being horribly verbose.