base_uri property

base_uri 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.

Remarks

Reference:

DOM Standard.

Definition:

@property
def base_uri(self):
    ...

See Also