我正在使用 joomla 2.5.8 和 virtuemart 2.0.6。在 w3 验证后,我得到以下错误:
Element input with attribute type whose value is button must have non-empty attribute value
<input type="button"class="quantity-controls quantity-minus" />. Element input with attribute type whose value is button must have non-empty attribute value.
最佳答案
您必须为您的按钮提供一个值属性。
<input type="button" id="myButton" value="Click Here" />
如果您不想在其中显示任何内容,请使用 value=" "
关于html - 错误 : Element input with attribute type whose value is button must have non-empty attribute value,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/16273319/