Table of Contents

Class HTMLHtmlElement

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The HTMLHtmlElement interface serves as the root node for a given HTML document. This object inherits the properties and methods described in the HTMLElement interface.

[Value("HTMLHtmlElement")]
public class HTMLHtmlElement : HTMLElement
Inheritance
HTMLHtmlElement
Inherited Members

Remarks

You can retrieve the HTMLHtmlElement object for a given document by reading the value of the DocumentElement property.

-HTML element implementing this interface: html.

See also on MDN

Constructors

HTMLHtmlElement()

public HTMLHtmlElement()

Properties

Version

IMPORTANT
Deprecated
NOTE
This property has been declared as deprecated by the W3C technical recommendation for HTML 4.01 in favor of use of the DTD for obtaining version information for a document.
[Value("version")]
public string Version { get; set; }

Property Value

string

Remarks

Returns version information about the document type definition (DTD) of a document. While this property is recognized by Mozilla, the return value for this property is always an empty string.

See also on MDN