元素元属性名称的Google值错误 [英] Bad value google for attribute name on element meta

查看:140
本文介绍了元素元属性名称的Google值错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否存在Google notranslate元标记的HTML5替代方法.验证HTML5时出现以下错误.

Is there an alternative for HTML5 for google notranslate meta tag. I getting the error below when validating HTML5.

Bad value google for attribute name on element meta: Keyword google is not registered. <meta name="google" content="notranslate" />

Bad value google for attribute name on element meta: Keyword google is not registered. <meta name="google" content="notranslate" />

推荐答案

关键字google注册在

notranslate的内容将告诉Google不要弹出 如果页面是外语形式,则翻译栏/链接 用户的浏览器.

A content of notranslate will tell google not to pop up the translate bar / link if the page is in a foreign language form the user's browser.

<meta name="google" content="notranslate">

所以这是有效的在HTML5中使用此关键字.如果验证者将其报告为错误,则表明该验证者可能不是最新的,或者仅仅是错误的.

So it is valid to use this keyword in HTML5. If a validator reports this as an error, the validator is probably not up to date or simply wrong.

这篇关于元素元属性名称的Google值错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆