aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/api/keyboardevent
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/api/keyboardevent')
-rw-r--r--files/zh-cn/web/api/keyboardevent/index.html2
-rw-r--r--files/zh-cn/web/api/keyboardevent/key/key_values/index.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/files/zh-cn/web/api/keyboardevent/index.html b/files/zh-cn/web/api/keyboardevent/index.html
index 1439268d80..b2a136a052 100644
--- a/files/zh-cn/web/api/keyboardevent/index.html
+++ b/files/zh-cn/web/api/keyboardevent/index.html
@@ -108,7 +108,7 @@ translation_of: Web/API/KeyboardEvent
<div class="note"><strong>Note:</strong> This does not describe the locale of the data being entered. A user may be using one keyboard layout while typing text in a different language.</div>
</dd>
<dt>{{domxref("KeyboardEvent.location")}} {{Readonlyinline}}</dt>
- <dd>Returns a {{jsxref("Number")}} representing the location of the key on the keyboard or other input device. A list of the constants identifying the locations is shown above in {{anch("Keyboard locations")}}.</dd>
+ <dd>Returns a {{jsxref("Number")}} representing the location of the key on the keyboard or other input device. A list of the constants identifying the locations is shown above in <a href="#键盘定位">Keyboard locations</a>.</dd>
<dt>{{domxref("KeyboardEvent.metaKey")}} {{Readonlyinline}}</dt>
<dd>Returns a {{jsxref("Boolean")}} that is <code>true</code> if the <kbd>Meta</kbd> key (on Mac keyboards, the <kbd>⌘ Command</kbd> key; on Windows keyboards, the Windows key (<kbd>⊞</kbd>)) was active when the key event was generated.</dd>
<dt>{{domxref("KeyboardEvent.repeat")}} {{Readonlyinline}}</dt>
diff --git a/files/zh-cn/web/api/keyboardevent/key/key_values/index.html b/files/zh-cn/web/api/keyboardevent/key/key_values/index.html
index 5923333c5d..48c2359234 100644
--- a/files/zh-cn/web/api/keyboardevent/key/key_values/index.html
+++ b/files/zh-cn/web/api/keyboardevent/key/key_values/index.html
@@ -895,7 +895,7 @@ translation_of: Web/API/KeyboardEvent/key/Key_Values
<td>A dead "combining" key; that is, a key which is used in tandem with other keys to generate accented and other modified characters. If pressed by itself, it doesn't generate a character. If you wish to identify which specific dead key was pressed (in cases where more than one exists), you can do so by examining the {{domxref("KeyboardEvent")}}'s associated {{event("compositionupdate")}} event's {{domxref("CompositionEvent.data", "data")}} property.</td>
<td></td>
<td></td>
- <td>See {{anch("Dead keycodes for Linux")}} below</td>
+ <td>See <a href="#dead_keycodes_for_linux">Dead keycodes for Linux</a> below</td>
<td></td>
</tr>
<tr>
@@ -2393,7 +2393,7 @@ translation_of: Web/API/KeyboardEvent/key/Key_Values
</ul>
<div class="note">
-<p>Remote controls typically include keys whose values are already defined elsewhere, such as under {{anch("Multimedia keys")}} or {{anch("Audio control keys")}}. Those keys' values will match what's documented in those tables.</p>
+<p>Remote controls typically include keys whose values are already defined elsewhere, such as under <a href="#multimedia_keys">Multimedia keys</a> or <a href="#audio_control_keys">Audio control keys</a>. Those keys' values will match what's documented in those tables.</p>
</div>
<table class="standard-table">