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/node/replacechild/index.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'files/ru/web/api/node/replacechild/index.html') diff --git a/files/ru/web/api/node/replacechild/index.html b/files/ru/web/api/node/replacechild/index.html index 84c7d5bfc2..ace3159e81 100644 --- a/files/ru/web/api/node/replacechild/index.html +++ b/files/ru/web/api/node/replacechild/index.html @@ -13,9 +13,9 @@ original_slug: Web/API/Node.replaceChild ---
{{ApiRef}}
-

Аннотация

+

Аннотация

Заменяет дочерний элемент на выбранный. Возвращает заменённый элемент.

-

Синтаксис

+

Синтаксис

replacedNode = parentNode.replaceChild(newChild, oldChild);
 
-

Пример

+

Пример

// <div>
 //  <span id="childSpan">foo bar</span>
 // </div>
@@ -53,13 +53,13 @@ parentDiv.replaceChild(sp1, sp2);
 //   <span id="newSpan">new replacement span element.</span>
 // </div>
 
-

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

+

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

-

Смотрите также

+

Смотрите также

-- cgit v1.2.3-54-g00ecf