Is the following valid HTML? What I am wondering about specifically is the location of the tag.
5条回答 南方客 (楼主) 2021-01-18 19:18 No this is not valid, TABLE can only contain TBODY, THEAD, TFOOT, CAPTION, COL, COLGROUP. If you are using XHTML then you can also put tr inside the table. 0 讨论(0) 查看其它5个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复 热议问题
No this is not valid, TABLE can only contain TBODY, THEAD, TFOOT, CAPTION, COL, COLGROUP. If you are using XHTML then you can also put tr inside the table.
TABLE
TBODY
THEAD
TFOOT
CAPTION
COL
COLGROUP
XHTML
tr
table