问题描述
我目前正在学习HTML和Java EE Servlet编程。我有一台运行在本地计算机上的应用服务器(Orion Application Server),并且使用运行在同一台计算机上的浏览器连接到我在此服务器上部署的网页,该浏览器指向(例如)。
我知道W3C有一个您可以访问该网站验证HTML页面(并计算给定文档类型的错误数量),但该网站必须是公开的URL。如何验证本地运行的设置上的HTML如上所述?
许多选项:
请参阅安装w3c验证服务:
Firefox插件:
离线验证器:
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的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!