Skip to content
This repository has been archived by the owner on Mar 14, 2024. It is now read-only.

Commit

Permalink
Fixed MDN links
Browse files Browse the repository at this point in the history
  • Loading branch information
samdutton committed Oct 5, 2023
1 parent b66f292 commit da2901e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/site/content/en/blog/url/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ An [eTLD](#etld) plus the subdomain that precedes it.

A string following a # character at the end of a URL that provides a
[fragment identifier](https://developer.mozilla.org/docs/Learn/Common_questions/What_is_a_URL#anchor).
(In [some contexts](https://developer.mozilla.org/en-US/docs/Learn/Common_questions/Web_mechanics/What_is_a_URL#anchor)
(In [some contexts](https://developer.mozilla.org/docs/Learn/Common_questions/Web_mechanics/What_is_a_URL#anchor)
this is referred to as an "anchor".)

- For example: the URL `https://example.com/cats#tabby` has a fragment identifier (hash) value
Expand Down Expand Up @@ -150,9 +150,9 @@ As defined in the [URL Standard](https://url.spec.whatwg.org/#host-representatio
[domain name](#domain-name), IP v4 address, IPv6 address, opaque host, or empty host.

- The URL Standard definition of `host` does not include the [port](#port).
- [`URL.host`](https://developer.mozilla.org/en-US/docs/Web/API/URL/host) includes the port, unless
- [`URL.host`](https://developer.mozilla.org/docs/Web/API/URL/host) includes the port, unless
the port is the default for the scheme.
- [`URL.hostname`](https://developer.mozilla.org/en-US/docs/Web/API/URL/hostname) does not include
- [`URL.hostname`](https://developer.mozilla.org/docs/Web/API/URL/hostname) does not include
the port.

<table>
Expand Down Expand Up @@ -187,7 +187,7 @@ the port.
Hostname is defined by the JavaScript `URL` API, but not elsewhere by the URL Standard. See
[host representation](https://url.spec.whatwg.org/#concept-domain) for more detail.

[`URL.hostname`](https://developer.mozilla.org/en-US/docs/Web/API/URL/hostname) returns the
[`URL.hostname`](https://developer.mozilla.org/docs/Web/API/URL/hostname) returns the
[host](#host) without the [port](#port).

<table>
Expand Down

0 comments on commit da2901e

Please sign in to comment.