aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/document/createattribute
diff options
context:
space:
mode:
authorAlexey Pyltsyn <lex61rus@gmail.com>2021-10-20 13:28:52 +0300
committerGitHub <noreply@github.com>2021-10-20 13:28:52 +0300
commit1386fed7d38652d5848d315927e7e23a66cffd13 (patch)
treeeb4b9adfec3f46c77304a1b9461d44357c8164c8 /files/ru/web/api/document/createattribute
parentb0f32a46245b1033098a5a9826a7818fa4e65dde (diff)
downloadtranslated-content-1386fed7d38652d5848d315927e7e23a66cffd13.tar.gz
translated-content-1386fed7d38652d5848d315927e7e23a66cffd13.tar.bz2
translated-content-1386fed7d38652d5848d315927e7e23a66cffd13.zip
[RU] Remove `name` attribute from headings (#2788)
Diffstat (limited to 'files/ru/web/api/document/createattribute')
-rw-r--r--files/ru/web/api/document/createattribute/index.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/files/ru/web/api/document/createattribute/index.html b/files/ru/web/api/document/createattribute/index.html
index ff43048513..075ee4b211 100644
--- a/files/ru/web/api/document/createattribute/index.html
+++ b/files/ru/web/api/document/createattribute/index.html
@@ -11,12 +11,12 @@ translation_of: Web/API/Document/createAttribute
<p>Строка, заданная в параметре, преобразуется в нижний регистр.</p>
</div>
-<h2 id="Syntax" name="Syntax">Syntax</h2>
+<h2 id="Syntax">Syntax</h2>
<pre class="syntaxbox"><em>attribute</em> = document.createAttribute(name)
</pre>
-<h3 id="Parameters" name="Parameters">Parameters</h3>
+<h3 id="Parameters">Parameters</h3>
<ul>
<li><code>name</code> строка, содержащая имя атрибута.</li>
@@ -32,7 +32,7 @@ translation_of: Web/API/Document/createAttribute
<li><code>INVALID_CHARACTER_ERR</code> если параметр содержит недопустимые символы для атрибута XML.</li>
</ul>
-<h2 id="Example" name="Example">Example</h2>
+<h2 id="Example">Example</h2>
<pre class="brush:js">var node = document.getElementById("div1");
var a = document.createAttribute("my_attrib");
@@ -41,7 +41,7 @@ node.setAttributeNode(a);
console.log(node.getAttribute("my_attrib")); // "newVal"
</pre>
-<h2 id="Specification" name="Specification">Спецификации</h2>
+<h2 id="Specification">Спецификации</h2>
<table class="spectable standard-table">
<tbody>