TBODY标签 [英] TBODY tag
问题描述
什么时候需要在网页上使用< tbodytag?你能否拥有
表,< trand< tdand永远不会使用< tbody>?如果你有什么危害
遗漏了< tbodytags?
谢谢,
Joy
" Joy M" < ab *** @ ns.sympatico.cawrote in message
news:47 ********************** @ news。 aliant.net ...
什么时候需要在网页上使用< tbodytag?你能否拥有
表,< trand< tdand永远不会使用< tbody>?如果你将
遗漏掉< tbodytags?
假设HTML而不是XHTML:
为什么不看规格:
http://www.w3.org/TR/html401/struct /...tml#edef-TBODY
tbody元素的开始标记和结束标记是可选的。
阅读说明书了解原因以及何时使用它们。
-
Richard
< blockquote>
" Andy Dingley" < di ***** @ codesmiths.com写信息
新闻:7d ************************* ********* @ f3g2000h sg.googlegroups.com ...
11月27日,01:43,Joy M < ab ... @ ns.sympatico.cawrote:
< snippage>
如果你
使用< thead>,可能会认为更清楚(为了人类的可读性)
添加< tbodytoo。
如果使用thead元素,则需要tbody开标签。
根据规格。
>
-
Richard。
11月27日,12:03,rf < r ... @ invalid.comwrote:
如果使用thead元素,则需要tbody开启标记。
依据对规格。
啊是的,它在文本中而不是DTD
When is it necessary to use the <tbodytag on a web page? Can you have
tables, and <trand <tdand never use <tbody>? What harm comes if you
leave out the <tbodytags?
Thanks,
Joy
"Joy M" <ab***@ns.sympatico.cawrote in message
news:47**********************@news.aliant.net...When is it necessary to use the <tbodytag on a web page? Can you have
tables, and <trand <tdand never use <tbody>? What harm comes if you
leave out the <tbodytags?Assuming HTML rather than XHTML:
Why not look at the specs:
http://www.w3.org/TR/html401/struct/...tml#edef-TBODY
The start tag and the end tag of the tbody element are optional.
Read the spec for reasons to and when you should use them.
--
Richard
"Andy Dingley" <di*****@codesmiths.comwrote in message
news:7d**********************************@f3g2000h sg.googlegroups.com...On 27 Nov, 01:43, "Joy M" <ab...@ns.sympatico.cawrote:<snippage>
If you
use <thead>, it might be thought clearer (for human readability) to
add the <tbodytoo.If the thead element is used then the tbody opening tag is required.
According to the specs.
--
Richard.
On 27 Nov, 12:03, "rf" <r...@invalid.comwrote:
If the thead element is used then the tbody opening tag is required.
According to the specs.Ah yes, it''s in the text but not the DTD
这篇关于TBODY标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!