According to https://dom.spec.whatwg.org/#dom-document-createelement the second argument should be a dictionary. The string second argument should be deprecated if the usage of the string argument is minimal.

Specification

Established standard

Status in Chromium

Blink


In development (tracking bug)

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • No signal
  • Shipped/Shipping
  • No signal
  • No signals

Owners

Last updated on 2021-05-30