寻找HTML验证器 [英] Looking for HTML validator

查看:87
本文介绍了寻找HTML验证器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!


我正在寻找具有以下限制的HTML验证器:

1. Web服务器是localhost(页面应该在本地验证) 。

2.页面是动态的(由PHP生成,客户端javascript,

改变了DOM)。


我尝试了以下内容:

1.整洁的Firefox扩展( http://users.skynet.be/mgueury/mozilla/)

不幸的是,它并没有真正实现真正的DOM验证。在我的

JS代码中,我有.inerHTML代码注入,但这个扩展没有显示注入的HTML代码



2我正在使用FireBug Firefox扩展。这个扩展显示了

真正的DOM,但不幸的是它没有验证HTML。

3.用于IE和Web Developper Firefox扩展的MS开发工具栏

只进行外部HTML验证。


有任何建议吗?


非常感谢!


Vadim

Hi!

I am looking for HTML validator with the following restrictions:
1. Web server is the localhost (page should be validated locally).
2. The page is dynamic (generated by PHP with client side javascript,
which alters the DOM).

I tried the following:
1. Tidy Firefox extenstion (http://users.skynet.be/mgueury/mozilla/).
Unfortunately, it doesn''t really makes the real DOM validation. In my
JS code, I had .inerHTML code injection, but this extension didn''t show
the injected html code.
2. I am using FireBug Firefox extenstion. This extenstion shows the
real DOM, but unfortunately it doesn''t validate the HTML.
3. MS developper toolbar for IE and Web Developper Firefox extenstion
make only external HTML validation.

Any advise?

Thanks a lot!

Vadim

推荐答案

Vadim写道:
Vadim wrote:
1. Web服务器是localhost(页面应在本地验证)。

http://validator.w3.org/source/

2.页面是动态的(由PHP生成,客户端javascript,
改变了DOM)。
2.我正在使用FireBug Firefox扩展。这个扩展显示了真正的DOM,但不幸的是它没有验证HTML。
1. Web server is the localhost (page should be validated locally).
http://validator.w3.org/source/
2. The page is dynamic (generated by PHP with client side javascript,
which alters the DOM). 2. I am using FireBug Firefox extenstion. This extenstion shows the
real DOM, but unfortunately it doesn''t validate the HTML.




获取生成的标记并将其粘贴到验证器中。 br />
-

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

首页是〜/ .bashrc的位置



Take the generated markup and paste it into the validator.
--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is


感谢您的帮助,但它很难制作......

有没有任何实时DOM验证器?

Thanks for help, but it''s a liitle difficult to make...
Are there any real-time DOM validators?




Vadim写道:

Vadim wrote:
是否有任何实时DOM验证器?
Are there any real-time DOM validators?




只有一个King :-)


您可以在

< https://addons.mozilla.org/firefox/249/>安装Firefox插件。请注意,HTML Tidy是否在那里被称为HTML Validator。但它不是W3C

Validator的意思。提出了一些差异(在现实世界的实践中,Tidy更加放松了。)然而,这是一个相当不错的标记

checker和pritty-printer。您可以在调试时使用它并在validator.w3.org上进行最终验证




There is only one King :-)

You can install Firefox add-on at
<https://addons.mozilla.org/firefox/249/> Please not that HTML Tidy is
called there "HTML Validator" but it is not in the sense of W3C
Validator. Some differences are presented (Tidy is more relaxed in
favor of the real world practice). Yet it is a rather nice markup
checker and pritty-printer. You can use it at the debug time and make
the final validation at validator.w3.org


这篇关于寻找HTML验证器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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