使用 W3C 验证受密码保护的站点的标记

发布于 2024-08-17 10:42:51 字数 87 浏览 8 评论 0原文

我有一个在线应用程序,我想根据 W3C 验证器验证 HTML 标记。

问题是用户需要先登录才能访问它们。

我该如何验证这些页面?

I have an online app that I am wanting to validate the HTML markup of against the W3C validator.

Problem is users need to log in first to access them.

How do I go about validating these pages?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

凑诗 2024-08-24 10:42:52

假设您指的是标记验证,请自行登录,转到所需的页面,查看源代码,然后使用 直接输入 选项。

Assuming you mean markup validation, log in yourself, go to the page you want, view source, and use the direct input option.

孤独难免 2024-08-24 10:42:52

我假设您指的是 w3 验证器服务。您可以将 html 内容复制粘贴到验证器中或将 html 保存到文件中并上传。如果您有 Firefox Web 开发人员扩展,它会提供“验证本地 HTML”选项。

I assume you mean w3 validator service. You can copy paste the html contents into the validator or save the html into a file and upload it. If you have Firefox Web developer extension, it provides a 'validate local HTML' option.

万劫不复 2024-08-24 10:42:52

OmniValidator 适用于 Firefox:

Omnivalidator 将当前可见页面的内容发送到一个
或在扩展首选项中配置的更多验证服务。
这些验证器可以是公开托管的(默认是公开的)
托管的 W3C 标记验证器和 Validator.nu)或本地托管。这
结果从验证器中检索、解析并显示在
可折叠的错误显示面板并用图标进行总结
Omnivalidator 按钮上的工具提示,可以放置在浏览器上
工具栏。通过单击
Omnivalidator 按钮或通过配置自动验证的 URL
使用扩展首选项中的一个或多个验证器进行验证。

OmniValidator for Firefox:

Omnivalidator sends the content of the currently visible page to one
or more validation services configured in the extension preferences.
These validators may be publicly hosted (the defaults are the publicly
hosted W3C Markup Validator and Validator.nu) or hosted locally. The
results are retrieved from the validators, parsed, and displayed in a
collapsable error display panel and summarized with an icon and
tooltip on the Omnivalidator button, which can be placed on a browser
toolbar. Validation is initiated either by clicking on the
Omnivalidator button or by configuring URLs which are automatically
validated with one or more validators in the extension preferences.

白云不回头 2024-08-24 10:42:51

使用此 html 验证器扩展。或者通过 Ctrl-U,复制粘贴到 w3c 页面。

With this html validator extension. Or by Ctrl-U, copy-paste into the w3c page.

童话 2024-08-24 10:42:51

您必须在您的服务器上运行他们提供的服务:

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

这就是我们所做的,效果很好。

我认为最好的做法是在开发时而不是在生产时验证您的网站源...就像运行单元测试一样对待这。您也不应该让标记错误上线。

You have to run the service they provide on your server:

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

Thats what we've done, works great.

I think it's best practice to be validating your sites source when it's in development not when its in production... Treat this just like running unit tests. You shouldn't have markup errors go live either.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文