div inside table

后端 未结 5 1353
孤独总比滥情好
孤独总比滥情好 2020-11-29 10:54

Can somebody tell me whether div inside a table is allowed or not according to w3c

5条回答
  •  眼角桃花
    2020-11-29 11:31

    It is allow as TD can contain inline- AND block-elements.

    Here you can find it in the reference: http://xhtml.com/en/xhtml/reference/td/#td-contains

提交回复
热议问题