HTML 4.01 Strict和HTML 4.01 Transitional之间的差异? [英] Differences between HTML 4.01 Strict and HTML 4.01 Transitional?

查看:63
本文介绍了HTML 4.01 Strict和HTML 4.01 Transitional之间的差异?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在设计一个内容管理系统,我想确保用户使用有效的HTML输入所有页面

。我已经设计了

系统使用HTML 4.01 Transitional,但是PHP驱动的

html检查器我只提供HTML 4.01 Strict。

如果可能的话,我需要知道Strict和

Transitional之间的完全差异所以我可以通过php脚本并正确设置为

正确检查在提交到

数据库之前系统允许页面使用4.01 Transitional。


是否有人知道在哪里可以找到这些差异的列表?


我发现这个用于XHTML Strict和Transitional但是还没有什么

for HTML。

http://liorean.web-graphics.com/xhtm ... se-strict.html


提前感谢您对此的任何帮助!


Kieran

I am designing a content management system and I want to make sure all pages
entered into it''s database by users are using valid HTML. I have designed
the system to use HTML 4.01 Transitional throughout, however the php powered
html checker I have only caters for HTML 4.01 Strict.

If possible I need to know the complete differences between Strict and
Transitional so I can go through the php script and correctly set it up to
properly check pages are using 4.01 Transitional before submission to the
database is allowed by the system.

Is there anyone who knows where a list of these differences can be found?

I have found this one for XHTML Strict and Transitional but nothing as yet
for HTML.

http://liorean.web-graphics.com/xhtm...se-strict.html

Thanks in advance for any help on this!

Kieran

推荐答案

Op Tue,2005年5月31日18:13:13 +0100 schreef" Kieran"

< ki *************** @ gmail.com>:
Op Tue, 31 May 2005 18:13:13 +0100 schreef "Kieran"
<ki***************@gmail.com>:
我正在设计一个内容管理系统,我想确保用户使用有效的HTML进入其数据库的所有页面。我已经设计了整个系统使用HTML 4.01 Transitional,但是php驱动的HTML检查器我只提供HTML 4.01 Strict。

如果可能的话我需要知道Strict和
Transitional之间完全不同,所以我可以通过php脚本并正确设置它来正确检查页面是否正在使用4.01 Transitional,然后才能提交到
数据库系统。

是否有人知道在哪里可以找到这些差异的列表?

我已经找到了这个用于XHTML Strict和Transitional但尚无任何内容
HTML。

http: //liorean.web-graphics.com/xhtm...se-strict.html

提前感谢您提供任何帮助!

Kieran
I am designing a content management system and I want to make sure all pages
entered into it''s database by users are using valid HTML. I have designed
the system to use HTML 4.01 Transitional throughout, however the php powered
html checker I have only caters for HTML 4.01 Strict.

If possible I need to know the complete differences between Strict and
Transitional so I can go through the php script and correctly set it up to
properly check pages are using 4.01 Transitional before submission to the
database is allowed by the system.

Is there anyone who knows where a list of these differences can be found?

I have found this one for XHTML Strict and Transitional but nothing as yet
for HTML.

http://liorean.web-graphics.com/xhtm...se-strict.html

Thanks in advance for any help on this!

Kieran




不确定是否有任何帮助。


在W3C w的HTML 4.01规范中ebsite,有一个索引

的HTML元素和HTML属性。任何元素或属性

弃用是允许在4.01过渡,但不是严格的(如果我

正确理解)。

这可能会让你去...


顺便说一句任何严格的4.01也符合4.01

过渡时期,所以我不太清楚为什么你会想让你成为一个系统产生过渡的,如果它产生严格的话。


Bart

-

Bart Broersma
BR ********************* @ tiscali.nl

(ff _ANTISPAM_ wegpoetsen uit dit adres natuurlijk)



Not exactly sure if this of any help.

In the HTML 4.01 specification on the W3C website, there is an index
of HTML elements and HTML Attributes. Any element or attribute that is
"deprecated" is allowed in 4.01 transitional, but not in strict (if I
understand it correctly).
This might get you going ...

B.t.w. anything that is strict 4.01 also conforms to 4.01
transitional, so I''m not quite sure why you would want to make youre
system produce transitional if it produces strict.

Bart
--
Bart Broersma
br*********************@tiscali.nl
(ff _ANTISPAM_ wegpoetsen uit dit adres natuurlijk)


Kieran写道:
Kieran wrote:
如果可能我需要知道Strict和
Transitional之间的完全差异所以我可以通过php脚本并正确设置它
正确检查页面是否正在使用4.01 Transitional才能提交到
数据库是系统允许的。


严格是过渡性的大部分你不应该使用的东西

删除。

有没有人知道哪里可以找到这些差异的列表?

http:// www。 w3.org/TR/html4/index/elements.html
http://www.w3.org/TR/html4/index/attributes.html

Transtional中出现的元素和属性但是不严格用L标记

在DTD列中。还有一些其他差异,例如

< form>和< body>允许元素仅包含块级元素

在Strict中,但允许在Transitional中使用内联元素。

我已经找到了这个用于XHTML Strict和Transitional的元素但是还没有
用于HTML。

http://liorean.web-graphics.com/xhtm...se-strict.html
If possible I need to know the complete differences between Strict and
Transitional so I can go through the php script and correctly set it up to
properly check pages are using 4.01 Transitional before submission to the
database is allowed by the system.
Strict is Transitional with most of the stuff that you shouldn''t use
removed.
Is there anyone who knows where a list of these differences can be found?
http://www.w3.org/TR/html4/index/elements.html
http://www.w3.org/TR/html4/index/attributes.html

Elements and attributes that appear in Transtional but not Strict are marked
with an "L" in the DTD column. There are some other differences, such as
<form> and <body> elements being allowed to hold only block level elements
in Strict, but are allowed Inline elements in Transitional.
I have found this one for XHTML Strict and Transitional but nothing as yet
for HTML.

http://liorean.web-graphics.com/xhtm...se-strict.html




假设您的意思是XHTML 1.0 Strict和Transitional,然后差异

之间的差异与4.01 Strict

和Transitional之间的差异完全相同。 XHTML 1.0是用XML表示的HTML 4.01。


-

David Dorward< http://blog.dorward.me.uk/> < http://dorward.me.uk/>

Home是〜/ .bashrc的地方



Assuming you mean XHTML 1.0 Strict and Transitional, then the differences
between those are exactly the same as the differences between 4.01 Strict
and Transitional. XHTML 1.0 is HTML 4.01 expressed in XML.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is


Bart写道:
Bart wrote:
在W3C网站的HTML 4.01规范中,有一个HTML元素和HTML属性的索引。
已弃用的任何元素或属性允许4.01过渡,但不是严格的(如果我正确理解)。
In the HTML 4.01 specification on the W3C website, there is an index
of HTML elements and HTML Attributes. Any element or attribute that is
"deprecated" is allowed in 4.01 transitional, but not in strict (if I
understand it correctly).




这有点近似。例如,iframe并没有被弃用,但是没有在Btrict中出现



-

David Dorward< http://blog.dorward.me.uk/> < http://dorward.me.uk/>

首页是〜/ .bashrc的位置



That''s a bit approximate. Iframe, for example, isn''t deprecated, but doesn''t
appear in Strict.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is


这篇关于HTML 4.01 Strict和HTML 4.01 Transitional之间的差异?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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