Is it necessary to have in every table?

后端 未结 5 1274
离开以前
离开以前 2021-01-01 08:45

Is it necessary to have in every table? According to Standards.

5条回答
  •  爱一瞬间的悲伤
    2021-01-01 09:25

    Quoting the HTML 4 spec: "The TBODY start tag is always required except when the table contains only one table body and no table head or foot sections. The TBODY end tag may always be safely omitted."

    So, you must have a tag if you have a or

    See also: MDN

提交回复
热议问题