简体   繁体   中英

How do I validate site markup [HTML/CSS] behind a firewall?

I am designing a web site but it is behind a firewall and such services like http://validator.w3.org/ will not work.

Are there any free apps I could run on Windows or Mac OS X that will validate html and css?

Use the HTML Validator plugin for Firefox

http://users.skynet.be/mgueury/mozilla/download.html

It will even work on HTML files on your PC

Note that the (X)HTML validator also has Validate by File Upload and Validate by Direct Input options. The CSS validator has a similar set of options. It would be trivial to write a script that validated automatically using one of those methods.

另请注意, W3C HTML Validator是开源软件,源代码可在HTML Validator Source中找到

w3验证器确实有'通过直接输入验证'选项(我经常使用)但是TravisO的答案值得选择答案:)

The Web Developer Toolbar for Firefox has "Validate Local HTML" under the Tools menu, which does exactly that. And that's only one of about 457 reasons to install the Web Developer Toolbar.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM