W3C验证错误 [英] W3C validation error

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

问题描述

该行

 < a class =product_imagehref =http://www.symposiumwines.com/ shop / product.php?id_product = 11> 
< / a>

由CMS生成时会在验证页面时抛出几个错误。



1)属性构造错误

2)无法找到开始标签的结尾img行



表示这两种情况下的php的p。

它使用Firefox插件进行验证,它不会在W3C验证器在线。



任何建议?我很困惑。 src =


The line

<a class="product_image" href="http://www.symposiumwines.com/shop/product.php?id_product=11" >
<img class="f-p"src="/shop/img/p/11-53-home.jpg" height="115" width="115" alt="Saint-Aubin 1er Cru &#039;Les Frionnes&#039; 2004"/>
</a>

generated by a CMS throws a couple of errors when I validate the page.

1) Attributes construct error

2) Couldn't find end of Start Tag img line

indicating the "p" of "php" in both cases.

It does validate using the Firefox plug-in, it does not validate in the W3C validator online.

Any suggestion? I am baffled.

解决方案

If you want this fragment to validate as XHTML you must insert a space between class="f-p" and src="

这篇关于W3C验证错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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