aboutsummaryrefslogtreecommitdiff
path: root/files/ru/web/api/document/createattribute/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ru/web/api/document/createattribute/index.html')
-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>