id

Read More at MDN DocsView Spec

Safe to Use

id is considered safe to use.

It’s supported by 94% of global browsers.

Browsers

ChromeDec 11, 2008v1.0.0
26%100%
100% of Chrome users are running a supported version.
SafariJun 23, 2003v1.0.0
5%100%
100% of Safari users are running a supported version.
EdgeJul 28, 2015v12.0.0
5%100%
100% of Edge users are running a supported version.
FirefoxSep 2, 2014v32.0.0
3%100%
100% of Firefox users are running a supported version.

Version Breakdown

 
Agent
Support
Adoption
Chrome
Dec 11, 2008 v1.0.0
26%100%
100% of Chrome users are running a supported version.
Dec 11, 2008 – Latest
v1.0.0+
26%100%

Full Support

Chrome Android
Jun 27, 2012 v18.0.0
36%100%
100% of Chrome Android users are running a supported version.
Jun 27, 2012 – Latest
v18.0.0+
36%100%

Full Support

Edge
Jul 28, 2015 v12.0.0
5%100%
100% of Edge users are running a supported version.
Jul 28, 2015 – Latest
v12.0.0+
5%100%

Full Support

Firefox
Sep 2, 2014 v32.0.0
3%100%
100% of Firefox users are running a supported version.
Sep 2, 2014 – Latest
v32.0.0+
3%100%

Full Support

Nov 9, 2004 – Sep 2, 2014
v1.0.0 – v32.0.0

Partial Support

id is a true global attribute only since Firefox 32.

Firefox for Android
Sep 2, 2014 v32.0.0
Firefox for Android supports this feature.
Sep 2, 2014 – Latest
v32.0.0+

Full Support

Mar 29, 2011 – Sep 2, 2014
v4.0.0 – v32.0.0

Partial Support

id is a true global attribute only since Firefox 32.

Internet Explorer
Aug 16, 1995 v1.0.0
0%100%
100% of Internet Explorer users are running a supported version.
Aug 16, 1995 – Latest
v1.0.0+
0%100%

Full Support

 
Quest Browser
Unknown v5.0.0
Quest Browser supports this feature.
Unknown
v5.0.0+

Full Support

Opera
Jul 2, 2013 v15.0.0
1%100%
100% of Opera users are running a supported version.
Jul 2, 2013 – Latest
v15.0.0+
1%100%

Full Support

Opera Android
May 21, 2013 v14.0.0
Opera Android supports this feature.
May 21, 2013 – Latest
v14.0.0+

Full Support

Safari
Jun 23, 2003 v1.0.0
5%100%
100% of Safari users are running a supported version.
Jun 23, 2003 – Latest
v1.0.0+
5%100%

Full Support

Safari on iOS
Jun 29, 2007 v1.0.0
17%100%
100% of Safari on iOS users are running a supported version.
Jun 29, 2007 – Latest
v1.0.0+
17%100%

Full Support

Samsung Internet
Apr 27, 2013 v1.0.0
2%100%
100% of Samsung Internet users are running a supported version.
Apr 27, 2013 – Latest
v1.0.0+
2%100%

Full Support

WebView Android
Dec 9, 2013 v4.4.0
WebView Android supports this feature.
Dec 9, 2013 – Latest
v4.4.0+

Full Support

See Also

Contribute