[英]Attribute type not allowed on element video at this point. how to fix this error?
I'm getting an error when validating audio & video in my HTML markup using the W3C validator . 使用W3C验证器验证 HTML标记中的音频和视频时出现错误。
Validation Output: 1 Error
Error Line 28, Column 96: Attribute type not allowed on element video at this point.
…ls="controls" poster="Images/egg.jpg" src="Misc/chicken.mp4" type="video/mp4">
Attributes for element video:
Global attributes
src
crossorigin
poster
preload
autoplay
mediagroup
loop
muted
controls
width
height
how do i fix this foraudio & video if i use mp3 & mp4 files?? 如果我使用mp3和mp4文件,该如何修复音频和视频?
The video
element can't have a type
attribute. video
元素不能具有type
属性。
Maybe you want to use the source
element as child of video
? 也许您想将
source
元素用作video
子元素 ?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.