Function Document.createElement

Creates an Element of the type specified. In addition, if there are known attributes with default values, Attr nodes representing them are automatically created and attached to the element. To create an Element with a qualified name and namespace URI, use the createElementNS method.

Prototype

DOMImplementation.Element!DOMString createElement(
  DOMString tagName
);

Authors

Lodovico Giaretta

Copyright

Copyright Lodovico Giaretta 2016 --

License

Boost License 1.0.