Node.BaseURI

Node.BaseURI property

Returns the absolute base URL of the document containing the node.

The base URL is used to resolve relative URLs when the browser needs to obtain an absolute URL, for example when processing the HTML img element’s src attribute or the xlink:href or href attributes in SVG.

public virtual string BaseURI { get; }

Property Value

The baseURI getter returns this’s node document’s document base URL, serialized.

Remarks

Reference:

DOM Standard.

See Also