html – 验证:“在表体中开始标记.”
发布时间:2020-12-14 23:37:49 所属栏目:资源 来源:网络整理
导读:tablethead thTable Heading/th/theadtbody tr...../tbody/table 当我尝试验证这部分代码时,验证程序返回此错误: th start tag in table body. 表模板是从getbootstrap.com复制的,所以我认为它是有效的.这有什么问题?为什么验证器会返回此错误,我该如何解
<table> <thead> <th>Table Heading</th> </thead> <tbody> <tr>..... </tbody> </table> 当我尝试验证这部分代码时,验证程序返回此错误: th start tag in table body. 表模板是从getbootstrap.com复制的,所以我认为它是有效的.这有什么问题?为什么验证器会返回此错误,我该如何解决? 解决方法
th是一个表头单元格 – 它需要在一个tr内:
<table> <thead> <tr> <th>Table Heading</th> </tr> </thead> <tbody> <tr>..... </tbody> </table> (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |