verify element content model (element-permitted-order)

Some elements has a specific order the children must use.

Rule details

Examples of incorrect code for this rule:

<!-- table caption must be used before thead -->
<table>
    <thead></thead>
    <caption></caption>
</div>
4:6 - Element <caption> must be used before <thead> in this context

Examples of correct code for this rule:

<table>
    <caption></caption>
    <thead></thead>
</table>