AvailabilityDOM Level 1 Core SynopsisCDATASection createCDATASection(Stringdata) throws DOMException; Arguments
ReturnsA newly created CDATASection node, with the specified data as its contents. ThrowsIf the document is an HTML document, this method throws a DOMException with a code of NOT_SUPPORTED_ERR because HTML documents do not allow CDATASection nodes. |