From 1386fed7d38652d5848d315927e7e23a66cffd13 Mon Sep 17 00:00:00 2001 From: Alexey Pyltsyn Date: Wed, 20 Oct 2021 13:28:52 +0300 Subject: [RU] Remove `name` attribute from headings (#2788) --- files/ru/web/api/document/createattribute/index.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'files/ru/web/api/document/createattribute') 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

Строка, заданная в параметре, преобразуется в нижний регистр.

-

Syntax

+

Syntax

attribute = document.createAttribute(name)
 
-

Parameters

+

Parameters

-

Example

+

Example

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"
 
-

Спецификации

+

Спецификации

-- cgit v1.2.3-54-g00ecf