Class HTMLBaseElement
- Namespace
- CSharpToJavaScript.APIs.JS
- Assembly
- CSharpToJavaScript.dll
The HTMLBaseElement interface contains the base URI for a document. This object inherits all of the properties and methods as described in the HTMLElement interface.
[Value("HTMLBaseElement")]
public class HTMLBaseElement : HTMLElement
- Inheritance
-
HTMLBaseElement
- Inherited Members
Remarks
-HTML element implementing this interface: base
Constructors
HTMLBaseElement()
public HTMLBaseElement()
Properties
Href
The href property of the HTMLBaseElement interface contains a string that is the URL to use as the base for relative URLs.
[Value("href")]
public string Href { get; set; }
Property Value
- string
A string that contains a URL, or the empty string (
"") if the corresponding<base>element does not include thehrefattribute.
Remarks
It reflects the href attribute of the base element.
Target
The target property of the HTMLBaseElement interface is a string that represents the default target tab to show the resulting output for hyperlinks and form elements.
[Value("target")]
public string Target { get; set; }
Property Value
- string
A string representing the target. Its value can be: