Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ElementType

Types of elements found in htmlparser2's DOM

enum ElementType {
Root = "root",
Text = "text",
Directive = "directive",
Comment = "comment",
Script = "script",
Style = "style",
Tag = "tag",
CDATA = "cdata",
Doctype = "doctype",
}

§Members

§
ElementType.CDATA = "cdata"
[src]

Type for

§
ElementType.Comment = "comment"
[src]

Type for

§
ElementType.Directive = "directive"
[src]

Type for

§
ElementType.Doctype = "doctype"
[src]

Type for <!doctype ...>

§
ElementType.Root = "root"
[src]

Type for the root element of a document

§
ElementType.Script = "script"
[src]

Type for tags

§
ElementType.Style = "style"
[src]

Type for tags

§
ElementType.Tag = "tag"
[src]

Type for Any tag

§
ElementType.Text = "text"
[src]

Type for Text