HTML5 Video

For technical support for all editions of CSS HTML Validator. Includes bug reports.
Post Reply
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 1
Joined: Thu Dec 06, 2018 7:27 am

HTML5 Video

Post by Baluteer »

Error 613 - says that "Percentages like "100%" are not allowed
here." However, when I search for it, I find it stated that percentages and
auto are supported. ... hVideo.php

And it does seem to work in the browsers I have checked. Should I be
concerned? Thanks

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3457
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX

Re: HTML5 Video

Post by Albert Wiersch »


I have looked into this.

You're probably using percentages for "height" and "width" HTML attributes and this is not allowed. See: ... ment/video
and ... attributes

However, percentages are allowed for the "height" and "width" CSS properties (but not the HTML attributes mentioned above).

I hope this helps. Please let me know if you have any more questions.

UPDATE: I've improved the message that may appear when an invalid percentage is used for a "width" or "height" attribute value in 2019/v19:
The value "100%" for the "height" attribute contains one or more non-integer characters after the integer characters. NOTE: Percentage values like "100%" are not allowed for this attribute (but may be allowed for the corresponding CSS property value).
Albert Wiersch

Post Reply