XHTML [英] xhtml
问题描述
请问,这条线有什么问题?
< tr>< td align =" left" class =" bold"> text here
2006< / br>& nbsp;& nbsp;& nbsp; text here< / td>
此行在验证时给出了错误..(当试图验证
css时, http://jigsaw.w3.org/css-validator/v...or-uri.html.en ..
你不能在没有验证xml的情况下验证css吗?)
你不可能< / br>在一个< td>?多么痛苦..
(也发现你里面没有像''nowrap''这样的东西......这个是
a痛苦..)
谢谢...
星期四,25 2006年5月23:13:22 -0400,maya< fd *** @ yahoo.com>写道:
你不能< / br>在一个< td>?多么痛苦..
我会尝试< br />而不是< / br>。
-
史蒂文
Steven Saunderson写道:On Thu,2006年5月25日23:13:22 -0400,maya< fd *** @ yahoo.com>写道:
你不能有< / br>在一个< td>?多么痛苦..
我会尝试< br />而不是< / br>。
哦我的天哪......这很尴尬......谢谢..... :(
我还有一个问题......这个错误意味着什么?
预期与元素相关的属性name打开引用
键入param。
代码为:
< param name =" quality" value =" high" /> ;
(嵌入Flash电影..)
再次感谢...
决定为人类的利益做点什么,maya
< fd *** @ yahoo.com>在comp.infosystems中声明。 www.authoring.html:
请问,这有什么问题line?
< tr>< td align =" left" class =" bold"> text here
2006< / br>& nbsp;& nbsp; & nbsp; text here< / td>
a)使用不推荐的align属性 - 使用CSS。
b)< / br> - 在HTML禁止中,在XHTML中缺少开始标记,而不是建议无论如何建议支持
(支持最多是有问题的)。使用< br> (HTML)或
< br /> (XHTML)。
c)用于缩进的不间断空格 - 使用CSS。
从示例中无法分辨,但希望*实际上是* br />
表格数据。否则:
d)(Ab)使用表格进行布局。
(也发现你不能拥有像''nowrap''这样的东西< td>'s ...这是一个痛苦......)
nowrap IIRC *从来没有*是任何一个(X)的一部分HTML规范,它是一个
专有的补充。使用白色空间:nowrap;相反。
-
Mark Parnell
我的Usenet得到了改进;你的也可以:
http://blinkynet.net/comp/uip5 .html
pls, what is wrong with this line?
<tr><td align="left" class="bold">text here
2006</br> text here</td>
this line gives me an error when validating.. (when try to validate for
css here, http://jigsaw.w3.org/css-validator/v...or-uri.html.en..
can''t you validate css without validating xml?)
you can''t have </br> inside a <td>? what a pain..
(also find you can''t have stuff like ''nowrap'' inside <td>''s... this IS
a pain..)
thank you...
On Thu, 25 May 2006 23:13:22 -0400, maya <fd***@yahoo.com> wrote:
you can''t have </br> inside a <td>? what a pain..
I''d try <br/> instead of </br>.
--
Steven
Steven Saunderson wrote:On Thu, 25 May 2006 23:13:22 -0400, maya <fd***@yahoo.com> wrote:you can''t have </br> inside a <td>? what a pain..
I''d try <br/> instead of </br>.
oh my gosh.. this is embarrassing... thank you.....:(
I have one more question... what does this error mean?
Open quote is expected for attribute "name" associated with an element
type "param".
code is:
<param name="quality" value="high"/>
(to embed a Flash movie..)
thanks again...
Deciding to do something for the good of humanity, maya
<fd***@yahoo.com> declared in comp.infosystems.www.authoring.html:
pls, what is wrong with this line?
<tr><td align="left" class="bold">text here
2006</br> text here</td>
a) Use of deprecated align attribute - use CSS.
b) </br> - in HTML forbidden, in XHTML missing the start tag and not
recommended anyway (support is questionable at best). Use <br> (HTML) or
<br /> (XHTML).
c) Non-breaking spaces for indentation - use CSS.
Impossible to tell from the example, but hopefully that *is* actually
tabular data. Otherwise:
d) (Ab)use of tables for layout purposes.
(also find you can''t have stuff like ''nowrap'' inside <td>''s... this IS
a pain..)
nowrap IIRC was *never* a part of any (X)HTML specifications, it was a
proprietary addition. Use white-space: nowrap; instead.
--
Mark Parnell
My Usenet is improved; yours could be too:
http://blinkynet.net/comp/uip5.html
这篇关于XHTML的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!