我在滾動標記中有一些文字。html 5在w3c驗證中的滾動標記錯誤
<marquee direction="left" scrollamount="4">
Test Test Test Test Test
</marquee>
我使用HTML 5和CSS 3,當我在W3C驗證檢查我的HTML,它顯示了以下錯誤。
Element marquee not allowed as child of element div in this context. (Suppressing further errors from this subtree.)
<marquee direction="left" scrollamount="4">
如何解決這個問題?
您正在使用HTML5和CSS3,以及'marquee'該出去了15年前的時尚? ;) – alex 2013-02-28 06:14:50
marquee ?? ...在html5中已棄用!使用CSS3動畫獲得相同的結果! – Alfr3d 2013-02-28 06:19:22
感謝您的建議。 – lifeline 2013-02-28 06:47:10