WebIDLpedia

DOMParser interface

Definition

HTML Standard defines DOMParser



[Exposed=Window]
interface DOMParser {
  constructor();

  [NewObject] Document parseFromString(HTMLString string, DOMParserSupportedType type);
};

Methods and attributes that return objects implementing DOMParser