• Hi there,

    using the picture tag to serve WebP/AVIF results in invalid HTML:

    Attribute “decoding” not allowed on element “picture” at this point.

    Attribute “fetchpriority” not allowed on element “picture” at this point.

    Attribute “loading” not allowed on element “picture” at this point.

    These attributes are only valid for img elements, not for picture elements.

    Best regards,
    Matthias

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Invalid HTML through picture tag’ is closed to new replies.