加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 资源网站 > 资源 > 正文

如何在W3C验证器中验证HTML时获取徽章?

发布时间:2020-12-14 23:11:56 所属栏目:资源 来源:网络整理
导读:我正在尝试验证W3C验证器中的4页网站. 当我验证我的CSS页面时,我获得了网页印章徽章的代码. 当我验证我的4个单独的HTML页面时,它们都会验证但不提供徽章的代码. 我如何获得徽章? 最佳答案 如果它没有为您提供,那么您可能正在编写HTML 5(一个是针对HTML 4和X

我正在尝试验证W3C验证器中的4页网站.

当我验证我的CSS页面时,我获得了网页印章徽章的代码.
当我验证我的4个单独的HTML页面时,它们都会验证但不提供徽章的代码.

我如何获得徽章?

最佳答案
如果它没有为您提供,那么您可能正在编写HTML 5(一个是针对HTML 4和XHTML 1文档提供的).

与Michael [tm] Smith见this interview:

No,there won’t be a Valid HTML icon any time soon and likely not
ever. The reason is basically that “This is valid” icons/badges
promote the idea that there’s significant value in making public
claims of pass/fail document-conformance requirements in standards.

But the HTML5 checker is by design not intended to encourage anybody
to use it as a means to make public assertions of simple pass/fail
conformance of any documents to any particular specifications; it’s
intended solely as a checker — for people to use to catch unintended
mistakes in documents and fix them — not as a pass/fail certification
mechanism.

There won’t be any proper Valid HTML5 icon forthcoming,so if you’d
like to use one in your content,you’ll probably need to create one on
your own.

所以你没有获得徽章,因为一个徽章不存在.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读