Skip to main content
HTML Validation

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

About This HTML Issue

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

Last reviewed: October 27, 2022

Was this guide helpful?

Find issues like this automatically

Rocket Validator scans thousands of pages in seconds, detecting HTML issues across your entire site.

Ready to validate your sites?
Start your free trial today.