diff --git a/files/en-us/web/api/svgaelement/download/index.md b/files/en-us/web/api/svgaelement/download/index.md new file mode 100644 index 000000000000000..fd04cbd35ddc75d --- /dev/null +++ b/files/en-us/web/api/svgaelement/download/index.md @@ -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")}} interface 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 diff --git a/files/en-us/web/api/svgaelement/hash/index.md b/files/en-us/web/api/svgaelement/hash/index.md new file mode 100644 index 000000000000000..58536782ea7f5c0 --- /dev/null +++ b/files/en-us/web/api/svgaelement/hash/index.md @@ -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")}} interface 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 [``](/en-US/docs/Web/HTML/Reference/Elements/a) element diff --git a/files/en-us/web/api/svgaelement/host/index.md b/files/en-us/web/api/svgaelement/host/index.md new file mode 100644 index 000000000000000..41cf0050a674d8e --- /dev/null +++ b/files/en-us/web/api/svgaelement/host/index.md @@ -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")}} interface 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 [``](/en-US/docs/Web/HTML/Reference/Elements/a) element diff --git a/files/en-us/web/api/svgaelement/hostname/index.md b/files/en-us/web/api/svgaelement/hostname/index.md new file mode 100644 index 000000000000000..a91302c7e9d126a --- /dev/null +++ b/files/en-us/web/api/svgaelement/hostname/index.md @@ -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")}} interface 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 [``](/en-US/docs/Web/HTML/Reference/Elements/a) element diff --git a/files/en-us/web/api/svgaelement/hreflang/index.md b/files/en-us/web/api/svgaelement/hreflang/index.md new file mode 100644 index 000000000000000..54f3b500265f043 --- /dev/null +++ b/files/en-us/web/api/svgaelement/hreflang/index.md @@ -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")}} interface 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 diff --git a/files/en-us/web/api/svgaelement/index.md b/files/en-us/web/api/svgaelement/index.md index ec24916b2bf4212..6859961bc95f97b 100644 --- a/files/en-us/web/api/svgaelement/index.md +++ b/files/en-us/web/api/svgaelement/index.md @@ -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")}} @@ -26,9 +26,9 @@ _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. + - : Returns a string containing the origin of the URL — that is, its scheme, its domain and its port. - {{domxref("SVGAElement.pathname")}} - : A string containing an initial `/` followed by the path of the URL, not including the query string or fragment. - {{domxref("SVGAElement.password")}} @@ -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. diff --git a/files/en-us/web/api/svgaelement/origin/index.md b/files/en-us/web/api/svgaelement/origin/index.md new file mode 100644 index 000000000000000..bd80224573fa91b --- /dev/null +++ b/files/en-us/web/api/svgaelement/origin/index.md @@ -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")}} interface 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 [``](/en-US/docs/Web/HTML/Reference/Elements/a) element diff --git a/files/en-us/web/api/svgaelement/password/index.md b/files/en-us/web/api/svgaelement/password/index.md new file mode 100644 index 000000000000000..d86c7e1214d7e3d --- /dev/null +++ b/files/en-us/web/api/svgaelement/password/index.md @@ -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")}} interface 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 [``](/en-US/docs/Web/HTML/Reference/Elements/a) element diff --git a/files/en-us/web/api/svgaelement/pathname/index.md b/files/en-us/web/api/svgaelement/pathname/index.md new file mode 100644 index 000000000000000..7adc0d3987f57d1 --- /dev/null +++ b/files/en-us/web/api/svgaelement/pathname/index.md @@ -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")}} interface 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 [``](/en-US/docs/Web/HTML/Reference/Elements/a) element diff --git a/files/en-us/web/api/svgaelement/ping/index.md b/files/en-us/web/api/svgaelement/ping/index.md new file mode 100644 index 000000000000000..dc489062a19af0e --- /dev/null +++ b/files/en-us/web/api/svgaelement/ping/index.md @@ -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")}} interface 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 diff --git a/files/en-us/web/api/svgaelement/port/index.md b/files/en-us/web/api/svgaelement/port/index.md new file mode 100644 index 000000000000000..d27696565d54fd7 --- /dev/null +++ b/files/en-us/web/api/svgaelement/port/index.md @@ -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")}} interface 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 [``](/en-US/docs/Web/HTML/Reference/Elements/a) element diff --git a/files/en-us/web/api/svgaelement/protocol/index.md b/files/en-us/web/api/svgaelement/protocol/index.md new file mode 100644 index 000000000000000..96e5ed858ff93dd --- /dev/null +++ b/files/en-us/web/api/svgaelement/protocol/index.md @@ -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")}} interface 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 [``](/en-US/docs/Web/HTML/Reference/Elements/a) element diff --git a/files/en-us/web/api/svgaelement/referrerpolicy/index.md b/files/en-us/web/api/svgaelement/referrerpolicy/index.md new file mode 100644 index 000000000000000..d8a53f35b0b480f --- /dev/null +++ b/files/en-us/web/api/svgaelement/referrerpolicy/index.md @@ -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")}} interface 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 diff --git a/files/en-us/web/api/svgaelement/search/index.md b/files/en-us/web/api/svgaelement/search/index.md new file mode 100644 index 000000000000000..b6490e56f6f0c5b --- /dev/null +++ b/files/en-us/web/api/svgaelement/search/index.md @@ -0,0 +1,29 @@ +--- +title: "SVGAElement: search property" +short-title: search +slug: Web/API/SVGAElement/search +page-type: web-api-instance-property +browser-compat: api.SVGAElement.search +--- + +{{APIRef("SVG")}} + +The **`search`** property of the {{domxref("SVGAElement")}} interface returns a string representing the URL's query string, if any, including the leading question mark (`?`). + +This property can be set, to change the URL's query component. + +## Value + +A string. + +## Specifications + +{{Specifications}} + +## Browser compatibility + +{{Compat}} + +## See also + +- SVG [``](/en-US/docs/Web/HTML/Reference/Elements/a) element diff --git a/files/en-us/web/api/svgaelement/text/index.md b/files/en-us/web/api/svgaelement/text/index.md new file mode 100644 index 000000000000000..c3df9070195a045 --- /dev/null +++ b/files/en-us/web/api/svgaelement/text/index.md @@ -0,0 +1,23 @@ +--- +title: "SVGAElement: text property" +short-title: text +slug: Web/API/SVGAElement/text +page-type: web-api-instance-property +browser-compat: api.SVGAElement.text +--- + +{{APIRef("SVG")}} + +The **`text`** property of the {{domxref("SVGAElement")}} interface returns a string that is a synonym for the {{domxref("Node.textContent")}} property. + +## Value + +A string. + +## Specifications + +{{Specifications}} + +## Browser compatibility + +{{Compat}} diff --git a/files/en-us/web/api/svgaelement/type/index.md b/files/en-us/web/api/svgaelement/type/index.md new file mode 100644 index 000000000000000..65b3e0ba6c58778 --- /dev/null +++ b/files/en-us/web/api/svgaelement/type/index.md @@ -0,0 +1,29 @@ +--- +title: "SVGAElement: type property" +short-title: type +slug: Web/API/SVGAElement/type +page-type: web-api-instance-property +browser-compat: api.SVGAElement.type +--- + +{{APIRef("SVG")}} + +The **`type`** property of the {{domxref("SVGAElement")}} interface returns a string indicating the MIME type of the linked resource. + +This property can be set, to change the URL's `type` value. It reflects the value of the [`type`](/en-US/docs/Web/HTML/Reference/Elements/a#type) attribute. + +## Value + +A string. + +## Specifications + +{{Specifications}} + +## Browser compatibility + +{{Compat}} + +## See also + +- [`type`](/en-US/docs/Web/HTML/Reference/Elements/a#type) attribute diff --git a/files/en-us/web/api/svgaelement/username/index.md b/files/en-us/web/api/svgaelement/username/index.md new file mode 100644 index 000000000000000..77ab2afe129665d --- /dev/null +++ b/files/en-us/web/api/svgaelement/username/index.md @@ -0,0 +1,29 @@ +--- +title: "SVGAElement: username property" +short-title: username +slug: Web/API/SVGAElement/username +page-type: web-api-instance-property +browser-compat: api.SVGAElement.username +--- + +{{APIRef("SVG")}} + +The **`username`** property of the {{domxref("SVGAElement")}} interface returns a string containing the username specified before the domain name. + +This property can be set, to change the URL's username. + +## Value + +A string. + +## Specifications + +{{Specifications}} + +## Browser compatibility + +{{Compat}} + +## See also + +- SVG [``](/en-US/docs/Web/HTML/Reference/Elements/a) element