AvailabilityDOM Level 1 Core SynopsisElement createElement(String tagName) throws DOMException; Arguments
ReturnsA newly created Element node with the specified tag name. ThrowsThis method throws a DOMException with a code of INVALID_CHARACTER_ERR if tagName contains an illegal character. |