什么是“W3C 标记验证器”网站上的按钮用于做什么?

发布于 2024-09-03 05:52:33 字数 98 浏览 5 评论 0原文

可能的网站,包括专业网站,通常都有“W3C 标记验证器”和“W3C CSS 验证器”。你为什么把它们放在那里?这只是骄傲还是有道理的?如果这不仅仅是骄傲,还有什么理由让他们这么做呢?

May websites, including professional ones usually have a "W3C Markup Validator" and "W3C CSS Validator." Why do you put them there? Is it just pride or is it justified? If it is more than pride, what justifies them?

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

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

发布评论

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

评论(3

原野 2024-09-10 05:52:33

这些 W3C 有效徽章的用途是:

为了向读者表明,人们在创建可互操作的网页时付出了一些努力,在任何经过​​验证的页面上都可能会显示“W3C 有效”徽章(此处为“有效 XHTML 1.0”徽章)。


但是使用受到限制

网络内容提供商有权在通过验证的页面上使用“W3C valid”徽标(通过使用 W3C 标记验证器)用于由图标表示的 W3C 技术,并且用于通过验证的页面。该图标必须用作重新验证网页的链接,从而提供一种方法来验证页面作者关于其已通过验证的断言。

[…]图标只是一种机制,用于识别已确定为有效的页面,并在页面修改时轻松地重新验证页面。

因此,这些徽章旨在用于轻松地重新验证徽章所在的页面,以证明您通过将其放置在页面上所做的承诺(如果他们真的认为有效性是一项光荣的成就而不是理所当然的事情)。

但有趣的是,Opera 的 MAMA 项目发现拥有此类横幅的页面中甚至没有 50% 实际上是有效的。在这种情况下,这样的徽章就相当于一种自辱,它向读者指出了他们自己不会注意到的东西。

The purpose of these W3C valid badges is:

To show readers that one has taken some care to create an interoperable Web page, a "W3C valid" badge may be displayed (here, the "valid XHTML 1.0" badge) on any page that validates.

But the usage is restricted:

Web content providers are granted the right to use the "W3C valid" logo on pages that pass validation (through the use of the W3C Markup Validator) for the W3C technology represented by the icon, and only on pages that pass validation. The icon must be used as a link to revalidate the Web page, thus providing a way to verify the page author's assertion that it passed validation.

[…] the icons are only a mechanism to identify pages that have been determined to be valid, and to easily revalidate pages as often as as they are modified.

So these badges are intended to be used to easily revalidate the page the badge is on to prove the promise you make by placing it on your page (if they really think validity is an honorable achievement rather than a matter of course).

But the funny thing is that Opera’s MAMA project found that not even 50% of those pages that had such a banner were actually valid. In that case such a badge is rather a self-humiliation, pointing the readers to something they wouldn’t have noticed themselves.

新人笑 2024-09-10 05:52:33

它告诉您是否存在 CSS、HTML 标记错误。如果没有找到,当您将其放在经过验证的网站上时,这表明您的工作有多出色。

难怪,谷歌/搜索引擎优化的东西喜欢经过充分验证的网站。

It tells you whether or not there are CSS, HTML markup errors. If none found, it shows how good you are at your work when you put it on a validated site.

No wonder, google/SEO stuff likes sites that are well validated.

○闲身 2024-09-10 05:52:33

从我的角度来看,这只是一种过分的骄傲

毕竟,我们不会在我们写的论文上贴上英文验证者徽章...

alt text
(来源:365sportstore.com

(W3C 有效英语- 过渡期 2010)

From my point of view, it is just a touch too much pride.

After all, we do not put English validator badges on essays we write...

alt text
(source: 365sportstore.com)

(W3C Valid English - Transitional 2010)

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