“表"内的“div" [英] 'div' inside 'table'
本文介绍了“表"内的“div"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
根据 W3C 是否允许在表格中使用 div?
Is a div inside a table allowed or not according to W3C?
推荐答案
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>test</title>
</head>
<body>
<table>
<tr>
<td>
<div>content</div>
</td>
</tr>
</table>
</body>
</html>
此文档已成功检查为 XHTML 1.0 Transitional!
This document was successfully checked as XHTML 1.0 Transitional!
这篇关于“表"内的“div"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文