basehref attribute | BaseHref property
the URL of the object.
Use the BaseHref property to resolve relative paths when locating an object. The following rules determine the resulting p.
- If the object element is on a page containing a base element, then p takes the value of the base.href property.
- If the object element is on a page with
vbscript, or is about protocol URLs, then p takes the value of the current page's parent page URL. This applies to object.BaseHref property requests in iframe/ frame elements as well.
- For all other object elements, p takes the value of the page they are found on.