这是什么类型的doctype? [英] what kind of doctype is this?

查看:69
本文介绍了这是什么类型的doctype?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试验证我的代码,我无法弄清楚我有什么样的doctype

。验证者不能告诉我任何事情,因为它不能超越

doctype声明。

http://www.wavian.com/clients/pugwash/


有吗无论如何要告诉这是什么样的doctype?我尝试插入几个不同类型的

(请原谅我,如果这是愚蠢的方式,

我正在学习...)但是我没有成功。


拜托,对我来说,没有任何不法行为的火焰;我正在努力学习并使

事情正确。


Holly

解决方案

< blockquote> Holly写道:

我正在尝试验证我的代码,我不知道我有什么样的
doctype。
http://www.wavian.com/clients/pugwash/

你没有。你需要决定你想要使用什么dtd(文档类型

声明),也就是你要写什么dtd你的

页面。我想你可以把它想象成选择

中的一种语言写一篇文章。我们不知道你想要哪种语言。你

选择。这是常用文档类型的列表。

http://www.w3.org/QA/2002/04/valid-dtd-list.html


我' 'd推荐html 4.01 / strict。但请注意,这并不意味着什么

,直到你了解html 4是什么,或者更广泛地说,是什么html。

它不是很有用桌面发布程序,即作为一个

的屏幕布局程序。它可用作文档描述程序。

听起来你需要的是一本入门书。也许这会有所帮助吗?

http:// tranchant .plus.com / web / html-start

无论如何要告诉我这是什么类型的doctype?我试着插入几种不同的类型(请原谅我,如果这是愚蠢的方式来做,我正在学习......)但是没有成功。


这有一点学习曲线。我希望你不要太沮丧和放弃。最后,我发现它值得学习,

但YYMV(YYMV =你的里程可能会有所不同)。

请不要火焰我是不道德的;我正在努力学习并使事情正确。




理解。 :-)


-

Brian(从我的地址中删除无效给我发电子邮件)
http://www.tsmchughs.com/


Holly < me@here.edu>写道:

我正在尝试验证我的代码,我不知道我有什么样的doctype
。验证者不能告诉我任何事情,因为它不能超越
doctype声明。

http://www.wavian.com/clients/pugwash/

无论如何都要告诉你这是什么类型的doctype是什么?我尝试插入几种不同的类型(请原谅我,如果这是愚蠢的方式,
我正在学习......)但是没有成功。




该页面对任何标准HTML文档类型都无效。最接近的是

是HTML 4.01 Transitional但你仍然有45个错误,大多数缺少

alt属性。


新页面应该旨在写入HTML 4.01严格,或者如果XHTML

1.0严格,如果你有充分的理由使用XHTML。


Steve

-

我的理论给你起见,我的异端邪说你,

我从不回信,你不喜欢我的领带。 - 医生


Steve Pugh< st *** @ pugh.net> < http://steve.pugh.net/>


Holly写道:

我正在尝试验证我的代码,我不知道我有什么样的doctype
。验证者不能告诉我任何事情,因为它不能超越
doctype声明。

http://www.wavian.com/clients/pugwash/




Doctype是HTML 3.2;该文件不符合任何已知标准。


HTML 4.01严格最适合大多数新文件,我建议你使用

那个然后编辑你的文件直到它符合。

http://www.w3.org/QA/2002/04/valid-dtd-list.html


-

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


I''m trying to validate my code and I can''t figure out what kind of doctype
I have. The validator can''t tell me anything because it can''t move beyond
the doctype declaration.

http://www.wavian.com/clients/pugwash/

Is there anyway to tell what kind of doctype this is? I tried inserting a
few different types (please excuse me if this is the stupid way to do it,
I am learning...) but am unsuccessful.

Please, no flames at me for wrongdoing; I am trying to learn and make
things right.

Holly

解决方案

Holly wrote:

I''m trying to validate my code and I can''t figure out what kind of
doctype I have. http://www.wavian.com/clients/pugwash/
You don''t have any. You need to decide what dtd (document type
declaration) you want to use, that is, what dtd you want to write your
pages against. I suppose you could think of it as choosing a language in
which to write an essay. We don''t know which language you want. You
choose. Here''s a list of commonly used doc types.

http://www.w3.org/QA/2002/04/valid-dtd-list.html

I''d recommend html 4.01/strict. But note that this won''t mean anything
until you learn what html 4 is, or perhaps more broadly, what html is.
It is not very useful as a desktop publishing program, that is, as a
screen layout program. It is useful as a document description program.
It sounds like what you need is a primer. Perhaps this will help?

http://tranchant.plus.com/web/html-start
Is there anyway to tell what kind of doctype this is? I tried
inserting a few different types (please excuse me if this is the
stupid way to do it, I am learning...) but am unsuccessful.
There is a bit of a learning curve to this. I hope you don''t get too
frustrated and give up. In the end, I''ve found it''s worth it to learn,
but YYMV (YYMV = your mileage may vary).
Please, no flames at me for wrongdoing; I am trying to learn and make
things right.



Understood. :-)

--
Brian (remove "invalid" from my address to email me)
http://www.tsmchughs.com/


Holly <me@here.edu> wrote:

I''m trying to validate my code and I can''t figure out what kind of doctype
I have. The validator can''t tell me anything because it can''t move beyond
the doctype declaration.

http://www.wavian.com/clients/pugwash/

Is there anyway to tell what kind of doctype this is? I tried inserting a
few different types (please excuse me if this is the stupid way to do it,
I am learning...) but am unsuccessful.



That page isn''t valid to any standard HTML doctype. The closest would
be HTML 4.01 Transitional but you still have 45 errors, mostly missing
alt attributes.

New pages should aim to be written to HTML 4.01 Strict, or if XHTML
1.0 Strict if you have some good reason to use XHTML.

Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don''t like my tie." - The Doctor

Steve Pugh <st***@pugh.net> <http://steve.pugh.net/>


Holly wrote:

I''m trying to validate my code and I can''t figure out what kind of doctype
I have. The validator can''t tell me anything because it can''t move beyond
the doctype declaration.

http://www.wavian.com/clients/pugwash/



The Doctype is HTML 3.2; the document doesn''t conform to any known standard.

HTML 4.01 Strict is best suited for most new documents, I suggest you use
that and then edit your document until it conforms.

http://www.w3.org/QA/2002/04/valid-dtd-list.html

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


这篇关于这是什么类型的doctype?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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