From c4576ded828eb9a5ef5f032c8f9409a7116f80a1 Mon Sep 17 00:00:00 2001 From: t7yang Date: Mon, 10 Jan 2022 08:38:06 +0800 Subject: remove id attribute not in heading for zh-CN --- .../javascript/reference/global_objects/string/anchor/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'files/zh-cn/web/javascript/reference/global_objects/string/anchor') diff --git a/files/zh-cn/web/javascript/reference/global_objects/string/anchor/index.html b/files/zh-cn/web/javascript/reference/global_objects/string/anchor/index.html index 0b3a4169cd..b48e62e0f8 100644 --- a/files/zh-cn/web/javascript/reference/global_objects/string/anchor/index.html +++ b/files/zh-cn/web/javascript/reference/global_objects/string/anchor/index.html @@ -20,7 +20,7 @@ translation_of: Web/JavaScript/Reference/Global_Objects/String/anchor

anchor() 方法创建一个 {{HTMLElement("a")}} HTML 锚元素,被用作超文本靶标(hypertext target)。

-

语法

+

语法

str.anchor(name) 
@@ -77,7 +77,7 @@ document.body.innerHTML = myString.anchor("contents_anchor");

{{ CompatibilityTable() }}

-
+
@@ -100,7 +100,7 @@ document.body.innerHTML = myString.anchor("contents_anchor");
-
+
-- cgit v1.2.3-54-g00ecf