显示 W3C 合规性

发布于 2024-07-17 05:32:43 字数 113 浏览 6 评论 0原文

我认为大多数人都同意遵守 W3C 标准是值得追求的。

但是,您是否宣传您的网站合规这一事实? 这样做有积极的一面还是消极的一面?

如果你确实表现出你的顺从,你会怎样做?

I think most people agree that complying with W3C standards is a worthwhile pursuit.

However, do you advertise the fact that your site is compliant? Are there positives or negatives to doing so?

If you do display your compliance, how do you do it?

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

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

发布评论

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

评论(10

酒与心事 2024-07-24 05:32:44

大多数情况下,它会向您的页面添加另一个不必要的东西 - 特别是对于非技术用户。 当您阅读一个页面时,您是否经常关心它的 HTML 或 CSS 代码(只要它能正常工作)?

Mostly, it adds yet another unnecessary thing to your page - especially for non-technical users. When you read a page, how often do you actually care about it's HTML or CSS code as long as it works?

单挑你×的.吻 2024-07-24 05:32:44

如果该页面是您的专业网络作品集/IT 相关网站,那么您当然可以,为什么不呢。 观众会理解,也应该欣赏。 然而,在非技术受众的网站上,这有点毫无意义。

有效性信息在某种意义上就像应用程序的内部版本号。 为什么有人想知道这个? 如果有人确实关心,他仍然可以转到“关于”或“联系网站管理员”页面,您可以在其中包含此类信息。

话虽如此,作为一名程序员,我喜欢在页面上看到它。 而且它不会伤害任何人。

If the page is your professional web portfolio/IT-related site then you sure could, why not. The audience will understand it and should appreciate. However, on the sites with non-technical audience this is a bit pointless.

The validity information is in some sense like a build number of the app. Why someone would like to know that? And if someone does care, he can still go to "about" or "contact webmaster" page, where you can include those kind of information.

Having that said, as a programmer I like to see it on the pages. And it hurts nobody.

落日海湾 2024-07-24 05:32:44

我有一个符合 w3c 的博客,但不显示事实。 我是一名平面设计师,只是确保我的网站从专业角度来看是合规的,以防有人在雇用我之前想检查一下。

I have a w3c compliant blog but don't display the fact. I'm a graphic designer and just made sure my site was compliant from a professional standpoint in case someone felt like checking before hiring me.

熟人话多 2024-07-24 05:32:43

我不知道,因为普通用户不知道网站“有效”意味着什么。

如果关心此类事情的人感兴趣,他们可能不会相信我的话 - 他们会自己通过验证器运行我的网站,可能使用 Firebug 等工具。

I don't, because the average user has no knowledge of what it means for a website to "be valid".

If someone who cares about such things is interested, they probably wouldn't take my word for it anyway - they'd run my site through the validator themselves, probably using a tool such as Firebug.

止于盛夏 2024-07-24 05:32:43

这取决于你的观众。 如果是技术网站,您可以宣传您的合规性。
如果是一个简单的博客,那只是肤浅的。

有一些链接到 W3C 的按钮,可以立即验证引用站点(如果您放错了位置,则可以检查您的访问者)。

有效 XHTML
Valid CSS

我会在印记中放置一个带有这样的链接的小文本关于页面。 所以有兴趣的人可以看看,但普通用户不会恼火。
每个页面上的这样的按钮只会窃取空间:)

It depends on your audience. If it's a tech site, you may promote your compliance.
If it's a simple blog, it's just superficial.

There are buttons that link to the W3C, that immediately validate the referer site (as a check for your visitors, if you misplaced it).

Valid XHTML
Valid CSS

I would put a little text with such a link in the imprint or about page. So interested people can look, but the normal user is not annoyed.
Such a button on every page would just steal space :)

手长情犹 2024-07-24 05:32:43

我不这样做,主要有两个原因:

  1. 没人关心,而那些关心的人会关心
    可能正在使用 Firefox
    无论如何,扩展都会告诉他们。
  2. 100% 有效并不是最重要的
    最终在网页设计中,有
    有时有正当理由
    打破验证。

显然,#2 需要非常小心,在进行初始 CSS 构建时必须具有有效的标记,并且最终构建中的任何错误都应该有充分的理由。

我也曾经认为,作为一名网络专业人士,不言而喻我的标记是有效的,在某种程度上这仍然是正确的,但正如你所看到的,我的立场已经发生了一些变化。

I don't, mainly for two reasons:

  1. Nobody cares, and those that do will
    probably be using a Firefox
    extension that tells them anyway.
  2. Being 100% valid isn't the be-all
    and end-all in web design, there are
    sometimes legitimate reasons to
    break validation.

Obviously #2 requires great caution, when doing the initial CSS build having valid markup is a must, and any errors in the final build should be well justified.

I also used to think that as a web professional it went without saying that my markup was valid, and to a certain extent that's still true but as you can see my standpoint has moved some what.

听风吹 2024-07-24 05:32:43

我发现这是一个很好的做法。 我不知道是否有很多用户关注它,但作为一名开发人员,我在网站上看到的越多,我就越觉得有必要使用这些标准。 我发现这是一种向彼此表明我们认为这一点很重要的方式。

没有看到任何负面影响,多年来,标准化编码使我的工作变得更加轻松。

至于如何使用 - 我使用标准的 w3c 徽标,但我见过许多网站设计了自己的版本。

i find it a good practice. i don't know if many users pay any attention into it, but as a developer, the more i see it on sites, the more i feel compelled to use the standards. i find it as a means of showing each other that we find this important.

don't see any negatives, and coding standard-wise has made my work much easier over the years.

as for how- i use the standard w3c logo, but i've seen many sites who styled their own version.

安稳善良 2024-07-24 05:32:43

我曾经这样做过,但我得出的结论是,它给用户带来的问题比带来的好处更多。 Jukka 解释得最好

曾有一些人在跟踪示例站点的徽标链接后(通过邮件列表)包含 W3C 验证器社区,并认为验证器社区的联系信息就是示例站点的联系信息!

I used to, but I've come to the conclusion that it causes users more problems then the benefits are worth. Jukka explains it best.

There have been instances of people containing the W3C Validator community (through the mailing list) after following a logo link from Example Site and thinking the contact information for the Validator community was the contact information for Example Site!

萌酱 2024-07-24 05:32:43

我曾多次看到人们使用这些图标,他们的首页有效,但子页面经常出现没人注意到的错误。

实际上,您可以单击XHTML valid图像(guerda链接到的图像)并被带到W3C,它会用大写字母表示“验证失败!”

如果您想支持 W3C 的目标,那就去做吧。 无论如何,把自己打垮。 使页面有效。 您甚至不必向访问者声明这一点。 但是,如果您确实想向访问者断言它,那么您的页面就已经非常有效

随着内容的变化,您必须继续检查未来。 如果您的网站很大或特别动态,则可能无法执行此操作。 这可能不值得付出努力。

Several times I've seen people with these icons, where their front pages validate, but subpages often have errors that nobody noticed.

And you could actually click the XHTML valid image (the ones guerda's linked to) and be taken to W3C, which would say in big letters, "Validation failed!"

If you want to support the aims of the W3C, then go for it. By all means, knock yourself out. Get the pages valid. You don't even have to assert it to the visitors. But if you do want to assert it to the visitors, then your page had darn-well-better be valid!

You'll have to continue to check into the future as your content changes. If your site is huge or particularly dynamic, it may not be possible to do this. It may not be worth the effort.

温馨耳语 2024-07-24 05:32:43

我认为炫耀一下是件好事。 大多数网站的底部都有一些空白区域(如 SO)。 为什么不把按钮放在那里呢? 普通用户不会关心,只会忽略它们,像我这样的人会很高兴知道您遵循标准。

I think it's a good thing to show it off. Most websites have some empty space at the bottom (like SO). Why not put the buttons there? The average user won't care and will just ignore them, and people like me will be happy to know that you follow the standards.

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