【发布时间】:2015-08-28 14:50:06
【问题描述】:
如果我像这样定义<thead>:
<thead>
<tr>
<th colspan=3>Category 1</th>
<th colspan=2>Category 2</th>
</tr>
<tr>
<th>Sub-cat 1</th>
<th>Sub-cat 2</th>
<th>Sub-cat 3</th>
<th>Sub-cat 4</th>
<th>Sub-cat 5</th>
</tr>
</thead>
这种结构在语义上是否正确分离了类别/子类别?
我知道它在视觉上看起来不错,但我不确定这对于屏幕阅读器或一般 W3C 规范来说会是什么样子。
【问题讨论】:
标签: html html-table semantic-markup screen-readers