---
id: "namespace"
kind: "web-feature"
canonical: "https://timetostable.com/feature/namespace"
baseline: "high"
bcd_version: "8.1.11"
web_features_version: "3.48.0"
---

# @namespace (`namespace`)

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.

- **Group**: CSS
- **Baseline**: Widely Available
- **Newly Available Date**: 2015-07-29
- **Widely Available Date**: 2018-01-29
- **Specification**: https://drafts.csswg.org/css-namespaces-3/#declaration
- **Constituent BCD keys**: 5

## Browser Support Timeline

| Browser | Version | Release Date |
| --- | --- | --- |
| Safari | 1 | 2003-06-23 |
| Firefox | 1 | 2004-11-09 |
| Safari on iOS | 1 | 2007-06-29 |
| Chrome | 1 | 2008-12-11 |
| Firefox for Android | 4 | 2011-03-29 |
| Chrome Android | 18 | 2012-06-27 |
| Edge | 12 | 2015-07-29 |

