I was reading in a forum about
In the HTML 5.1 spec, In this order: optionally a caption element, followed by zero or more colgroup elements, followed optionally by a thead element, followed by either zero or more tbody elements or one or more tr elements, followed optionally by a tfoot element, optionally intermixed with one or more script-supporting elements. https://www.w3.org/TR/html51/tabular-data.html#tabular-data element that it must come after element. In contrast I saw some people use the order
can only come after .