Web features explorer

@namespace

Widely available since 2018-01-29
Tags: api css Groups: CSS CSS > Selectors

The @namespace CSS rule sets a default namespace or namespace prefix. Namespace prefixes allow CSS selectors to distinguish elements with the same name but different document types, such as the HTML <a> element and the SVG <a> element.

Learning resources on MDN

Browser support (view on caniuse.com)