diff options
author | Alexey Pyltsyn <lex61rus@gmail.com> | 2021-10-20 13:28:52 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-20 13:28:52 +0300 |
commit | 1386fed7d38652d5848d315927e7e23a66cffd13 (patch) | |
tree | eb4b9adfec3f46c77304a1b9461d44357c8164c8 /files/ru/web/api/element/setattribute | |
parent | b0f32a46245b1033098a5a9826a7818fa4e65dde (diff) | |
download | translated-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/element/setattribute')
-rw-r--r-- | files/ru/web/api/element/setattribute/index.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/files/ru/web/api/element/setattribute/index.html b/files/ru/web/api/element/setattribute/index.html index aab6e1fe69..6a16a07850 100644 --- a/files/ru/web/api/element/setattribute/index.html +++ b/files/ru/web/api/element/setattribute/index.html @@ -9,7 +9,7 @@ translation_of: Web/API/Element/setAttribute <div></div> -<h2 id="Syntax" name="Syntax">Синтаксис</h2> +<h2 id="Syntax">Синтаксис</h2> <pre class="syntaxbox notranslate"><em>element</em>.setAttribute(<em>name</em>, <em>value</em>); </pre> @@ -19,7 +19,7 @@ translation_of: Web/API/Element/setAttribute <li><code>value</code> - значение атрибута.</li> </ul> -<h2 id="Пример" name="Пример">Пример</h2> +<h2 id="Пример">Пример</h2> <p>В следующем примере, <code>setAttribute()</code> используется, чтобы установить атрибут {{htmlattrxref("disabled")}} кнопки {{htmlelement("button")}}, делая её отключённой.</p> @@ -32,7 +32,7 @@ b.setAttribute("disabled", "disabled"); <p>{{ EmbedLiveSample('Пример', '300', '50', '', 'Web/API/Element/setAttribute') }}</p> -<h2 id="Notes" name="Notes">Примечания</h2> +<h2 id="Notes">Примечания</h2> <p>При вызове на элементе внутри HTML документа, setAttribute переведёт имя атрибута в нижний регистр.</p> @@ -46,7 +46,7 @@ b.setAttribute("disabled", "disabled"); <div>{{DOMAttributeMethods}}</div> -<h2 id="Specification" name="Specification">Спецификация</h2> +<h2 id="Specification">Спецификация</h2> <ul> <li><a class="external" href="http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-F68F082">DOM Level 2 Core: setAttribute</a> (представлено в <a class="external" href="http://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#method-setAttribute">DOM Level 1 Core</a>)</li> |