Skip to main content
HTML Validation

Saw “=” when expecting an attribute name. Probable cause: Attribute name missing.

About This HTML Issue

Attributes for HTML elements must be defined like name="value". The name may be missing before the =.

Some examples:

<!-- Missing equal sign -->

<p name "value"></p>

<!-- Missing space before the attribute -->

<pname "value"></p>

Last reviewed: March 15, 2023

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.