验证本地机器上的HTML [英] Validate HTML on local machine

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

问题描述

我目前正在学习HTML和Java EE Servlet编程。我有一台运行在本地计算机上的应用服务器(Orion Application Server),并且使用运行在同一台计算机上的浏览器连接到我在此服务器上部署的网页,该浏览器指向 http://localhost/mypage.htm (例如)。

我知道W3C有一个您可以访问该网站验证HTML页面(并计算给定文档类型的错误数量),但该网站必须是公开的URL。如何验证本地运行的设置上的HTML如上所述?

解决方案

许多选项:



请参阅安装w3c验证服务:

http://validator.w3.org/docs/install.html



Firefox插件:



Firefox插件或其他工具来本地验证HTML页面



https://addons.mozilla.org/en-US/firefox/addon/249/



离线验证器:



http://htmlhelp.com/tools/validator/offline/index.html.en


I'm currently trying to learn HTML and Java EE Servlet programming. I have an application server running on my local machine (Orion Application Server) and I'm connecting to web pages I've deployed on this server using a browser running on the same machine, directed to http://localhost/mypage.htm (for example).

I know W3C has a site you can go to that will validate an HTML page (and count how many errors are found for a given doctype), but that has to be a publicly available URL. How do you validate HTML on a locally running setup like I've described above?

解决方案

many options:

see installation of w3c validation service:

http://validator.w3.org/docs/install.html

Firefox addons:

Firefox addon or other tool to locally validate HTML pages

https://addons.mozilla.org/en-US/firefox/addon/249/

Offline validator:

http://htmlhelp.com/tools/validator/offline/index.html.en

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

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