Table of Contents

Class HTMLTitleElement

Namespace
CSharpToJavaScript.APIs.JS
Assembly
CSharpToJavaScript.dll

The HTMLTitleElement interface is implemented by a document's {{ HTMLElement( "title" )}}. This element inherits all of the properties and methods of the HTMLElement interface.

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

Remarks

-The HTML element implementing this interface: title.

See also on MDN

Constructors

HTMLTitleElement()

public HTMLTitleElement()

Properties

Text

The text property of the HTMLTitleElement interface represents the child text content of the document's title as a string. It contains the {{HTMLelement("title")}} element's content as text; if HTML tags are included within the <title> element, they are included as part of the string value rather than being parsed as HTML.

[Value("text")]
public string Text { get; set; }

Property Value

string

A string.

Remarks

Setting a value for the text property replaces the entire text contents of the <title>.

See also on MDN