Html 如何通过Google签出url的W3验证?
当我在W3验证中验证页面时,我在下面的代码中发现了一些错误Html 如何通过Google签出url的W3验证?,html,w3c-validation,google-checkout,Html,W3c Validation,Google Checkout,当我在W3验证中验证页面时,我在下面的代码中发现了一些错误 <input type="image" name="Google Checkout" alt="Fast checkout through Google" src="https://sandbox.google.com/checkout/buttons/checkout.gif?merchant_id=xxxxxxxxx&w=168&h=44&style=white&variant=text&
<input type="image" name="Google Checkout" alt="Fast checkout through Google"
src="https://sandbox.google.com/checkout/buttons/checkout.gif?merchant_id=xxxxxxxxx&w=168&h=44&style=white&variant=text&loc=en_US" />
错误如下:
无法为常规实体w生成系统标识符
对实体w的引用,无法为其生成系统标识符
未定义一般实体h,也没有默认实体
无法为其生成系统标识符的实体h的引用
未定义常规图元样式,也没有默认图元
对无法为其生成系统标识符的实体样式的引用
未定义常规实体变量,也没有默认实体
对无法生成系统标识符的实体变量的引用
未定义一般实体loc,且无默认实体
无法为其生成系统标识符的实体loc的引用
这是唯一来自URL的错误;是否有方法通过此URL的W3验证。您需要将符号转义到对应的HTML实体& 新代码:
<input type="image" name="Google Checkout" alt="Fast checkout through Google"
src="https://sandbox.google.com/checkout/buttons/checkout.gif?merchant_id=xxxxxxxxx&w=168&h=44&style=white&variant=text&loc=en_US" />
您需要将符号转义为对应的HTML实体& 新代码:
<input type="image" name="Google Checkout" alt="Fast checkout through Google"
src="https://sandbox.google.com/checkout/buttons/checkout.gif?merchant_id=xxxxxxxxx&w=168&h=44&style=white&variant=text&loc=en_US" />