Are there any standalone HTML markup validation tools [closed]

。_饼干妹妹 提交于 2019-12-21 04:12:55

问题


Other than submit individual web pages for verification on the W3C site, are there any standalone tools that will do this job.

Ideally this would be a visual studio plugin that could catch errors at design time but one that would just take a wep application url running locally would be good.

Open source suggestions would be preferable


回答1:


The W3C Markup Validator is an open source tool, which you can download and use it offline.

On Fedora, do:

yum install w3c-markup-validator



回答2:


I use the FireFox plugin "HTMLTidy" to do this. When you are testing, you can point Firefox to your dev server (i.e. "http://localhost:52457/...") and it will work as if the site were live.

Also consider setting HTML errors to be raised as compile errors in VS and set your compatibility level/Doctype to XHTML 1.1 Strict to get them all. These settings are under Tools -> Options -> Text Editor -> HTML -> Validation




回答3:


you could try with tidy




回答4:


CSE HTML Validator is one I have used in the past.

It is not open source, but there is a free version.



来源:https://stackoverflow.com/questions/773070/are-there-any-standalone-html-markup-validation-tools

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!