在檢查我的網站w3cvalidator此時,元素svg上不允許使用屬性數據。如何糾正它
它顯示了這個錯誤在這一點上和結束標記SVG屬性數據-LS不允許SVG元素上不匹配當前打開元素的名稱(使用)。
這裏是我使用的示例代碼。
<svg class="ls-l" style="top:320px;left:30%;white-space: nowrap;"
data-ls="offsetxin:-15; offsetyin:10; delayin:6854; offsetxout:-15; offsetyout:10; durationout:500; showuntil:1000; easingout:easeInOutQuart; scalexin:0; scaleyin:0; scalexout:0; scaleyout:0;"
width="50" height="50" viewBox="0 0 64 64" >
<use xlink:href="#location-pin">
</svg>
感謝....
請不要的方式,使問題的答案沒有意義更多改變的問題。 – 2014-10-06 10:30:23