Skip to main content
HTML Validation

Bad value X for attribute “target” on element “a”: Reserved keyword X used.

About This HTML Issue

The value used in the target property of an <a> element has been identified as a keyword because it starts with an underscore _, but it’s not a valid keyword.

Values starting with an underscore for the target property are used for reserved keywords like _blank, _self, _parent or _top.

Find issues like this automatically

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

Help us improve our guides

Was this guide helpful?

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