Skip to main content
HTML Validation

Unsupported SVG version specified. This validator only supports SVG 1.1. The recommended way to suppress this warning is to remove the “version” attribute altogether.

About This HTML Issue

This warning appears when an <svg> element has version="1.0" or version="1.2", because the W3C validator only checks inline SVG against SVG 1.1. Removing the version attribute clears the warning and won't change how browsers draw the graphic.

The version attribute was meant to declare which SVG specification the content targets. The validator has no ruleset for SVG 1.0 or 1.2, so it falls back to this warning. Other values, such as "2.0", get a different error instead: Bad value “2.0” for attribute “version” on element “svg”. Browsers ignore the attribute when rendering, so dropping it has no visible effect.

This usually shows up in files exported from drawing tools, which write a version attribute by default. The baseProfile attribute is obsolete for inline SVG in HTML5 for the same reason, so you can remove it too.

Invalid example

<svg version="1.0" xmlns="http://www.w3.org/2000/svg" width="100" height="100">
  <rect x="10" y="10" width="80" height="80" fill="teal" />
</svg>

Valid example

<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
  <rect x="10" y="10" width="80" height="80" fill="teal" />
</svg>

If you have a lot of SVG files to clean up, an optimizer like SVGO can strip the version attribute automatically.

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?
🌍 Trusted by teams worldwide

Validate at scale.
Ship accessible websites, faster.

Automated HTML & accessibility validation for large sites. Check thousands of pages against WCAG guidelines and W3C standards in minutes, not days.

Scheduled Reports
API Access
Open Source Standards
€5 / week

1K Weekly

1,000 monthly checks. Cancel anytime.

Get 1K Weekly →

Join teams across 40+ countries