api.Document.createElementNS.options_parameter

Spec

MDN URL

Status

On the standards track: Yes

Is Experimental: No

Is Deprecated: No

Browser Support

In Chrome version 56 on 2017-01-25 Note: For backwards compatibility, the options parameter can be an object or a string with the custom element tag name, although the string version is deprecated.

In Chrome Android version 56 on 2017-02-01 Note: For backwards compatibility, the options parameter can be an object or a string with the custom element tag name, although the string version is deprecated.

In Edge version 79 on 2020-01-15 Note: For backwards compatibility, the options parameter can be an object or a string with the custom element tag name, although the string version is deprecated.

In Firefox version 50 on 2016-11-15 Note: Firefox accepts a string instead of an object here, but only from version 51 onwards. In version 50, options must be an object.

In Firefox for Android version 50 on 2016-11-15 Note: Firefox for Android accepts a string instead of an object here, but only from version 51 onwards. In version 50, options must be an object.

Not in Internet Explorer

In Quest Browser version 5.0 on undefined Note: For backwards compatibility, the options parameter can be an object or a string with the custom element tag name, although the string version is deprecated.

In Opera version 43 on 2017-02-07 Note: For backwards compatibility, the options parameter can be an object or a string with the custom element tag name, although the string version is deprecated.

In Opera Android version 43 on 2017-09-27 Note: For backwards compatibility, the options parameter can be an object or a string with the custom element tag name, although the string version is deprecated.

Not in Safari

Not in Safari on iOS

In Samsung Internet version 6.0 on 2017-08-23 Note: For backwards compatibility, the options parameter can be an object or a string with the custom element tag name, although the string version is deprecated.

In WebView Android version 56 on 2017-02-01 Note: For backwards compatibility, the options parameter can be an object or a string with the custom element tag name, although the string version is deprecated.

Not in WebView on iOS