@@ -114,7 +114,7 @@ const myURL = new URL({ toString: () => 'https://example.org/' }); |
114 | 114 | // https://example.org/ |
115 | 115 | ``` |
116 | 116 |
|
117 | | -Unicode characters appearing within the hostname of `input` will be |
| 117 | +Unicode characters appearing within the host name of `input` will be |
118 | 118 | automatically converted to ASCII using the [Punycode][] algorithm. |
119 | 119 |
|
120 | 120 | ```js |
@@ -192,7 +192,7 @@ Invalid host values assigned to the `host` property are ignored. |
192 | 192 |
|
193 | 193 | * {string} |
194 | 194 |
|
195 | | -Gets and sets the hostname portion of the URL. The key difference between |
| 195 | +Gets and sets the host name portion of the URL. The key difference between |
196 | 196 | `url.host` and `url.hostname` is that `url.hostname` does *not* include the |
197 | 197 | port. |
198 | 198 |
|
@@ -206,7 +206,7 @@ console.log(myURL.href); |
206 | 206 | // Prints https://example.com:81/foo |
207 | 207 | ``` |
208 | 208 |
|
209 | | -Invalid hostname values assigned to the `hostname` property are ignored. |
| 209 | +Invalid host name values assigned to the `hostname` property are ignored. |
210 | 210 |
|
211 | 211 | #### `url.href` |
212 | 212 |
|
@@ -1298,8 +1298,8 @@ path of most URLs. The *fragment percent-encode set* is used for URL fragments. |
1298 | 1298 | The *C0 control percent-encode set* is used for host and path under certain |
1299 | 1299 | specific conditions, in addition to all other cases. |
1300 | 1300 |
|
1301 | | -When non-ASCII characters appear within a hostname, the hostname is encoded |
1302 | | -using the [Punycode][] algorithm. Note, however, that a hostname *may* contain |
| 1301 | +When non-ASCII characters appear within a host name, the host name is encoded |
| 1302 | +using the [Punycode][] algorithm. Note, however, that a host name *may* contain |
1303 | 1303 | *both* Punycode encoded and percent-encoded characters: |
1304 | 1304 |
|
1305 | 1305 | ```js |
|