Skip to main content
HTML Validation

Attribute value missing.

About This HTML Issue

An attribute has been found in an element, where the intended value is missing. A common cause is including the equal sign, but not passing anything after it.

For example:

<!-- This is missing the value for the style attribute, so it's invalid -->

<p style=></p>

<!-- This is explicitly passing a blank string as the value, so it's valid -->

<p style=""></p>

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.