Skip to main content

HTML Guide

Bad value for attribute “src” on element “img”: Illegal character in scheme data: “<” is not allowed.

The src attribute on an <img> element contains an invalid character, that should be properly encoded as a URI percent-encoded character.

Learn more:

Last reviewed: October 27, 2022

Was this guide helpful?

Related W3C validator issues