HTML5 Please

DOM

Use with caution with polyfillapi

A large subset of the DOM can currently be correctly shimmed.

Verdict
Use with caution
Category
JavaScript APIs
Browser support
Can I Use
Works in
all modern browsers

Should you use DOM in 2026?

However the current shims are not fully tested and are missing some features.

Experimentally use with caution until the shim implementations have matured.

Polyfills and fallbacks

ES5-DOM-shim, DOM-shim