Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
15e12e0
Provide complete minimal reference for SVGAElement interface
chrisdavidmills Oct 10, 2025
604d6da
Update files/en-us/web/api/svgaelement/username/index.md
chrisdavidmills Oct 13, 2025
20a8d12
Update files/en-us/web/api/svgaelement/download/index.md
chrisdavidmills Oct 13, 2025
a0b2484
Update files/en-us/web/api/svgaelement/hash/index.md
chrisdavidmills Oct 13, 2025
cd69466
Update files/en-us/web/api/svgaelement/host/index.md
chrisdavidmills Oct 13, 2025
2f7993e
Update files/en-us/web/api/svgaelement/hostname/index.md
chrisdavidmills Oct 13, 2025
80a15b7
Update files/en-us/web/api/svgaelement/hreflang/index.md
chrisdavidmills Oct 13, 2025
c1f76d0
Update files/en-us/web/api/svgaelement/origin/index.md
chrisdavidmills Oct 13, 2025
8f601e2
Update files/en-us/web/api/svgaelement/password/index.md
chrisdavidmills Oct 13, 2025
af8bb79
Update files/en-us/web/api/svgaelement/pathname/index.md
chrisdavidmills Oct 13, 2025
cf3f7a1
Update files/en-us/web/api/svgaelement/ping/index.md
chrisdavidmills Oct 13, 2025
53ed301
Update files/en-us/web/api/svgaelement/port/index.md
chrisdavidmills Oct 13, 2025
7d26bf1
Update files/en-us/web/api/svgaelement/protocol/index.md
chrisdavidmills Oct 13, 2025
6826f9f
Update files/en-us/web/api/svgaelement/referrerpolicy/index.md
chrisdavidmills Oct 13, 2025
f584061
Update files/en-us/web/api/svgaelement/search/index.md
chrisdavidmills Oct 13, 2025
767eb9f
Update files/en-us/web/api/svgaelement/text/index.md
chrisdavidmills Oct 13, 2025
3790f4f
Update files/en-us/web/api/svgaelement/type/index.md
chrisdavidmills Oct 13, 2025
91e54ab
description consistency
chrisdavidmills Oct 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions files/en-us/web/api/svgaelement/download/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
title: "SVGAElement: download property"
short-title: download
slug: Web/API/SVGAElement/download
page-type: web-api-instance-property
browser-compat: api.SVGAElement.download
---

{{APIRef("SVG")}}

The **`download`** property of the {{domxref("SVGAElement")}} returns a string indicating that the browser should treat the linked URL as a download.

This property can be set, to change the URL's `download` value. It reflects the value of the [`download`](/en-US/docs/Web/HTML/Reference/Elements/a#download) attribute.

> [!NOTE]
> This value might not be used for download. This value cannot be used to determine whether the download will occur.

## Value

A string.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- [`download`](/en-US/docs/Web/HTML/Reference/Elements/a#download) attribute
29 changes: 29 additions & 0 deletions files/en-us/web/api/svgaelement/hash/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: "SVGAElement: hash property"
short-title: hash
slug: Web/API/SVGAElement/hash
page-type: web-api-instance-property
browser-compat: api.SVGAElement.hash
---

{{APIRef("SVG")}}

The **`hash`** property of the {{domxref("SVGAElement")}} returns a string representing the fragment identifier, including the leading hash mark (`#`), if any, in the referenced URL.

This property can be set, to change the URL's fragment (ignores leading `#`).

## Value

A string.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- SVG [`<a>`](/en-US/docs/Web/HTML/Reference/Elements/a) element
29 changes: 29 additions & 0 deletions files/en-us/web/api/svgaelement/host/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: "SVGAElement: host property"
short-title: host
slug: Web/API/SVGAElement/host
page-type: web-api-instance-property
browser-compat: api.SVGAElement.host
---

{{APIRef("SVG")}}

The **`host`** property of the {{domxref("SVGAElement")}} returns a string representing the hostname and port (if it's not the default port) in the referenced URL.

This property can be set, to change the URL's host and port.

## Value

A string.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- SVG [`<a>`](/en-US/docs/Web/HTML/Reference/Elements/a) element
29 changes: 29 additions & 0 deletions files/en-us/web/api/svgaelement/hostname/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: "SVGAElement: hostname property"
short-title: hostname
slug: Web/API/SVGAElement/hostname
page-type: web-api-instance-property
browser-compat: api.SVGAElement.hostname
---

{{APIRef("SVG")}}

The **`hostname`** property of the {{domxref("SVGAElement")}} returns a string representing the hostname in the referenced URL.

This property can be set, to change the URL's hostname.

## Value

A string.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- SVG [`<a>`](/en-US/docs/Web/HTML/Reference/Elements/a) element
29 changes: 29 additions & 0 deletions files/en-us/web/api/svgaelement/hreflang/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: "SVGAElement: hreflang property"
short-title: hreflang
slug: Web/API/SVGAElement/hreflang
page-type: web-api-instance-property
browser-compat: api.SVGAElement.hreflang
---

{{APIRef("SVG")}}

The **`hreflang`** property of the {{domxref("SVGAElement")}} returns a string indicating the language of the linked resource.

This property can be set, to change the URL's `hreflang` value. It reflects the value of the [`hreflang`](/en-US/docs/Web/HTML/Reference/Elements/a#hreflang) attribute.

## Value

A string.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- [`hreflang`](/en-US/docs/Web/HTML/Reference/Elements/a#hreflang) attribute
10 changes: 5 additions & 5 deletions files/en-us/web/api/svgaelement/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The **`SVGAElement`** interface provides access to the properties of an {{SVGEle
_This interface also inherits properties from its parent, {{domxref("SVGGraphicsElement")}}._

- {{domxref("SVGAElement.download")}}
- : See {{domxref("HTMLAnchorElement.download")}}.
- : A string indicating that the linked resource is intended to be downloaded rather than displayed in the browser.
- {{domxref("SVGAElement.hash")}}
- : A string representing the fragment identifier, including the leading hash mark (`#`), if any, in the referenced URL.
- {{domxref("SVGAElement.host")}}
Expand All @@ -26,7 +26,7 @@ _This interface also inherits properties from its parent, {{domxref("SVGGraphics
- {{domxref("SVGAElement.href")}} {{ReadOnlyInline}}
- : An {{domxref("SVGAnimatedString")}} that reflects the {{SVGAttr("href")}} or {{SVGAttr("xlink:href")}} {{deprecated_inline}} attribute.
- {{domxref("SVGAElement.hreflang")}}
- : A string that reflects the `hreflang` attribute, indicating the language of the linked resource.
- : A string indicating the language of the linked resource.
- {{domxref("SVGAElement.origin")}} {{ReadOnlyInline}}
- : Returns a string containing the origin of the URL, that is its scheme, its domain and its port.
- {{domxref("SVGAElement.pathname")}}
Expand All @@ -40,16 +40,16 @@ _This interface also inherits properties from its parent, {{domxref("SVGGraphics
- {{domxref("SVGAElement.protocol")}}
- : A string representing the protocol component, including trailing colon (`:`), of the referenced URL.
- {{domxref("SVGAElement.referrerPolicy")}}
- : See {{domxref("HTMLAnchorElement.referrerPolicy")}}.
- : A string specifying which [referrer](/en-US/docs/Web/HTTP/Reference/Headers/Referer) to send when fetching the [URL](/en-US/docs/Glossary/URL).
- {{domxref("SVGAElement.rel")}}
- : A string reflecting the `rel` SVG attribute, specifying the relationship of the link's target.
- {{domxref("SVGAElement.relList")}}
- : A {{domxref("DOMTokenList")}} reflecting the `rel` SVG attribute, as a list of tokens.
- {{domxref("SVGAElement.search")}}
- : A string representing the search element, including leading question mark (`?`), if any, of the referenced URL.
- : A string representing the URL's query string, if any, including the leading question mark (`?`).
- {{domxref("SVGAElement.target")}} {{ReadOnlyInline}}
- : It corresponds to the {{SVGAttr("target")}} attribute of the given element.
- {{domxref("SVGAElement.text")}} {{deprecated_inline}}
- {{domxref("SVGAElement.text")}} {{deprecated_inline}} {{non-standard_inline}}
- : A string that is a synonym for the {{domxref("Node.textContent")}} property.
- {{domxref("SVGAElement.type")}}
- : A string that reflects the `type` attribute, indicating the MIME type of the linked resource.
Expand Down
27 changes: 27 additions & 0 deletions files/en-us/web/api/svgaelement/origin/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
title: "SVGAElement: origin property"
short-title: origin
slug: Web/API/SVGAElement/origin
page-type: web-api-instance-property
browser-compat: api.SVGAElement.origin
---

{{APIRef("SVG")}}

The **`origin`** readonly property of the {{domxref("SVGAElement")}} returns a string containing the origin of the URL, that is its scheme, its domain and its port.

## Value

A string.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- SVG [`<a>`](/en-US/docs/Web/HTML/Reference/Elements/a) element
29 changes: 29 additions & 0 deletions files/en-us/web/api/svgaelement/password/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: "SVGAElement: password property"
short-title: password
slug: Web/API/SVGAElement/password
page-type: web-api-instance-property
browser-compat: api.SVGAElement.password
---

{{APIRef("SVG")}}

The **`password`** property of the {{domxref("SVGAElement")}} returns a string containing the password specified before the domain name.

This property can be set, to change the URL's password.

## Value

A string.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- SVG [`<a>`](/en-US/docs/Web/HTML/Reference/Elements/a) element
29 changes: 29 additions & 0 deletions files/en-us/web/api/svgaelement/pathname/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: "SVGAElement: pathname property"
short-title: pathname
slug: Web/API/SVGAElement/pathname
page-type: web-api-instance-property
browser-compat: api.SVGAElement.pathname
---

{{APIRef("SVG")}}

The **`pathname`** property of the {{domxref("SVGAElement")}} returns a string containing an initial `/` followed by the path of the URL, not including the query string or fragment.

This property can be set, to change the URL's pathname.

## Value

A string.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- SVG [`<a>`](/en-US/docs/Web/HTML/Reference/Elements/a) element
29 changes: 29 additions & 0 deletions files/en-us/web/api/svgaelement/ping/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: "SVGAElement: ping property"
short-title: ping
slug: Web/API/SVGAElement/ping
page-type: web-api-instance-property
browser-compat: api.SVGAElement.ping
---

{{APIRef("SVG")}}

The **`ping`** property of the {{domxref("SVGAElement")}} returns a string that reflects the `ping` attribute, containing a space-separated list of URLs to which, when the hyperlink is followed, {{HTTPMethod("POST")}} requests with the body `PING` will be sent by the browser (in the background). Typically used for tracking.

This property can be set, to change the URL's `ping` value. It reflects the value of the [`ping`](/en-US/docs/Web/HTML/Reference/Elements/a#ping) attribute.

## Value

A string.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- [`ping`](/en-US/docs/Web/HTML/Reference/Elements/a#ping) attribute
29 changes: 29 additions & 0 deletions files/en-us/web/api/svgaelement/port/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: "SVGAElement: port property"
short-title: port
slug: Web/API/SVGAElement/port
page-type: web-api-instance-property
browser-compat: api.SVGAElement.port
---

{{APIRef("SVG")}}

The **`port`** property of the {{domxref("SVGAElement")}} returns a string representing the port component, if any, of the referenced URL.

This property can be set, to change the URL's port.

## Value

A string.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- SVG [`<a>`](/en-US/docs/Web/HTML/Reference/Elements/a) element
29 changes: 29 additions & 0 deletions files/en-us/web/api/svgaelement/protocol/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: "SVGAElement: protocol property"
short-title: protocol
slug: Web/API/SVGAElement/protocol
page-type: web-api-instance-property
browser-compat: api.SVGAElement.protocol
---

{{APIRef("SVG")}}

The **`protocol`** property of the {{domxref("SVGAElement")}} returns a string representing the protocol component, including trailing colon (`:`), of the referenced URL.

This property can be set, to change the URL's protocol.

## Value

A string.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- SVG [`<a>`](/en-US/docs/Web/HTML/Reference/Elements/a) element
29 changes: 29 additions & 0 deletions files/en-us/web/api/svgaelement/referrerpolicy/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
title: "SVGAElement: referrerpolicy property"
short-title: referrerpolicy
slug: Web/API/SVGAElement/referrerpolicy
page-type: web-api-instance-property
browser-compat: api.SVGAElement.referrerpolicy
---

{{APIRef("SVG")}}

The **`referrerpolicy`** property of the {{domxref("SVGAElement")}} returns a string specifying which [referrer](/en-US/docs/Web/HTTP/Reference/Headers/Referer) to send when fetching the [URL](/en-US/docs/Glossary/URL)..

This property can be set, to change the URL's `referrerpolicy` value. It reflects the value of the [`referrerpolicy`](/en-US/docs/Web/HTML/Reference/Elements/a#referrerpolicy) attribute.

## Value

A string.

## Specifications

{{Specifications}}

## Browser compatibility

{{Compat}}

## See also

- [`referrerpolicy`](/en-US/docs/Web/HTML/Reference/Elements/a#referrerpolicy) attribute
Loading