diff options
| author | Carolyn Wu <87150472+cw118@users.noreply.github.com> | 2022-03-01 13:47:30 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-03-01 19:47:30 +0100 |
| commit | da412bbfa23b6e02dc33331891c6d4aee2bb7242 (patch) | |
| tree | 9b12d2d411cefcd211382a3cfe935203731c0b80 /files/fr/web/api/document/location | |
| parent | 2c46c339b552b185def6254d895d1529d61db4c0 (diff) | |
| download | translated-content-da412bbfa23b6e02dc33331891c6d4aee2bb7242.tar.gz translated-content-da412bbfa23b6e02dc33331891c6d4aee2bb7242.tar.bz2 translated-content-da412bbfa23b6e02dc33331891c6d4aee2bb7242.zip | |
Markdown fixes part 1 (fr/web/a*) (#4316)
* Fix MD038, no spaces inside code span elements
* Fix MD037, no spaces inside emphasis markers
* Fix MD039, no spaces inside link text
* Missed link text fix in API file
* Various typo fixes
Diffstat (limited to 'files/fr/web/api/document/location')
| -rw-r--r-- | files/fr/web/api/document/location/index.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/files/fr/web/api/document/location/index.md b/files/fr/web/api/document/location/index.md index a3fb30e1ae..5b9fabd4e9 100644 --- a/files/fr/web/api/document/location/index.md +++ b/files/fr/web/api/document/location/index.md @@ -10,7 +10,7 @@ tags: - lecture seule translation_of: Web/API/Document/location --- -La propriété en lecture seule **`Document.location`**` renvoie un objet` {{domxref("Location")}}, contenant les informations sur l'URL du document et fournit des moyens pour modifier cette URL ou charger une autre URL. +La propriété en lecture seule **`Document.location`** renvoie un objet [`Location`](/fr/docs/Web/API/Location), contenant les informations sur l'URL du document et fournit des moyens pour modifier cette URL ou charger une autre URL. Bien que `Document.location` soit un objet `Location` en _lecture seule_, vous pouvez lui assigner un {{domxref("DOMString")}}. Cela signifie que vous pouvez dans la plupart des cas utiliser document.location comme s'il s'agissait d'une chaîne de caractères: `document.location = 'http://www.example.com'` est un synonyme de `document.location.href = 'http://www.example.com'`. |
