使HTML 4.1也符合XHTML 1.1 [英] Making HTML 4.1 Also Comply with XHTML 1.1

查看:56
本文介绍了使HTML 4.1也符合XHTML 1.1的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有需要对HTML 4.1进行更改的列表?

使其符合双重标准,同时使用XHTML 1.1?

Is there a list of the changes you need to make to HTML 4.1 cose to
make it dual compliant, with XHTML 1.1 also?

推荐答案

Ben Sharvy写道:
Ben Sharvy wrote:
是否有需要对HTML 4.1进行更改的列表,以使其符合双重要求, XHTML 1.1也?
Is there a list of the changes you need to make to HTML 4.1 cose to
make it dual compliant, with XHTML 1.1 also?




不可能。

无头


-

电子邮件和usenet过滤器列表: http://www.headless。 dna.ie/usenet.htm


Headless< me@privacy.net>写道:
Headless <me@privacy.net> wrote:
是否有一个需要对HTML 4.1进行更改的列表,以使其符合双重标准,使用XHTML 1.1还是吗?
Is there a list of the changes you need to make to HTML 4.1 cose to
make it dual compliant, with XHTML 1.1 also?



不可能。



Not possible.




显然不是,因为没有HTML 4.1。 :-)


假设OP真的意味着4.01,尽管写了两次4.1,

答案确实是相同的,尽管出于不同的原因。 />

但是还有一些_other_原因而不是

<!DOCTYPE>上的不同要求。声明,以防止双重合规到两个

规格?这当然是非常理论的,我想知道为什么要问

问题。 (浏览器按照他们自己的规则进行游戏,几乎所有声称符合HTML 4.01的浏览器实际上都失败了几个方面的合规性,并且对XHTML 1.1的合规性几乎不是好笑话。)


-

Yucca, http://www.cs.tut.fi/~jkorpela/

有关网页制作的网页: http://www.cs.tut.fi/~jkorpela/www.html br />



Apparently not, since there is no HTML 4.1. :-)

Assuming the OP really meant 4.01, despite writing twice 4.1,
the answer is indeed the same, though for a different reason.

But is there some _other_ reason than the different requirements on the
<!DOCTYPE> declaration that prevent "dual compliance" to the two
specifications? This is of course pretty theoretic, and I wonder why the
question was asked. (Browsers play by their own rules, and virtually all
browsers claimed to comply with HTML 4.01 actually fail compliance in
several ways, and compliance to XHTML 1.1 is hardly even a good joke.)

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html


" Jukka K. Korpela" < JK ****** @ cs.tut.fi>在消息新闻中写道:< Xn **************************** @ 193.229.0.31> ...
"Jukka K. Korpela" <jk******@cs.tut.fi> wrote in message news:<Xn****************************@193.229.0.31> ...
但是除了
<!DOCTYPE>上的不同要求之外还有一些其他原因吗?声明,以防止双重合规两个
规格?
But is there some _other_ reason than the different requirements on the
<!DOCTYPE> declaration that prevent "dual compliance" to the two
specifications?




<!DOCTYPE>声明既不是HTML也不是XHTML,所以它与问题无关。


换句话说,是否有一个允许*选项*的标记

(有效地)声明它是HTML或XHTML。



The <!DOCTYPE> declaration is neither HTML nor XHTML, so it is
irrelevant to the question.

Put another way, is there a markup that allows the *option* of
(validly) declaring it to be either HTML or XHTML.


这篇关于使HTML 4.1也符合XHTML 1.1的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆