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

HTMLMetaElement

Contains descriptive metadata about a document. It inherits all of the properties and methods described in the HTMLElement interface.

interface HTMLMetaElement extends HTMLElement {
content: string;
httpEquiv: string;
media: string;
name: string;
scheme: string;
addEventListener<K extends keyof HTMLElementEventMap>(
type: K,
listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void;
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void;
removeEventListener<K extends keyof HTMLElementEventMap>(
type: K,
listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void;
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void;
}
var HTMLMetaElement: {
prototype: HTMLMetaElement;
new (): HTMLMetaElement;
}
;

§Extends

§Properties

§
content: string
[src]

Gets or sets meta-information to associate with httpEquiv or name.

§
httpEquiv: string
[src]

Gets or sets information used to bind the value of a content attribute of a meta element to an HTTP response header.

§
media: string
[src]
§
name: string
[src]

Sets or retrieves the value specified in the content attribute of the meta object.

§
scheme: string
[src]

Sets or retrieves a scheme to be used in interpreting the value of a property specified for the object.

§Methods

§
addEventListener<K extends keyof HTMLElementEventMap>(
type: K,
listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | AddEventListenerOptions,
): void
[src]
§
addEventListener(
type: string,
options?: boolean | AddEventListenerOptions,
): void
[src]
§
removeEventListener<K extends keyof HTMLElementEventMap>(
type: K,
listener: (this: HTMLMetaElement, ev: HTMLElementEventMap[K]) => any,
options?: boolean | EventListenerOptions,
): void
[src]
§
removeEventListener(
type: string,
options?: boolean | EventListenerOptions,
): void
[src]