Skip to main content

Search 412 pages — tools, formats, elements, namespaces, directory, comparisons, XPath, datatypes, glossary, parse errors, schema errors, use cases, guides, blog and product.

XML namespace

SVG

Scalable Vector Graphics. A standalone .svg file must declare this on its root element or browsers render nothing; inline SVG in HTML need not.

xmlns="http://www.w3.org/2000/svg"

SVG is real XML, which is why an SVG file can be validated, diffed and searched with XML tooling. A standalone SVG file must declare this namespace on its root element or browsers will treat it as unknown markup and render nothing.

Inline SVG inside HTML is the exception: the HTML parser assigns the namespace implicitly, so hand-written inline SVG often omits the declaration and still works.

URI
http://www.w3.org/2000/svg
Prefix
Usually the default namespace
Elements
svgpathgrectcircledefsusetext

Specification: SVG 2

Get started

Bring order to the XML your team can't afford to ignore.

Create a free account and get a private workspace to search, validate, diff, and monitor your XML feeds, sitemaps, schemas, and vendor integrations.