Skip to main content
HTML Validation

The “X” attribute on the “Y” element is obsolete. Use CSS instead.

About This CSS Issue

You’re using an attribute X that is no longer valid for element Y, but you can use CSS to achieve the same effect.

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.