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

Element

HTML element.

interface Element extends Parent {
children: ElementContent[];
content?: Root | undefined;
data?: ElementData | undefined;
properties: Properties;
tagName: string;
type: "element";
}

§Extends

§Properties

§

Children of element.

§
content?: Root | undefined
[src]

When the tagName field is 'template', a content field can be present.

§
data?: ElementData | undefined
[src]

Data associated with the element.

§
properties: Properties
[src]

Info associated with the element.

§
tagName: string
[src]

Tag name (such as 'body') of the element.

§
type: "element"
[src]

Node type of elements.