javascript html dom
html DOM要素
関連タイピング
-
htmlのタグを入力
プレイ回数621 300秒 -
自作のハンバーガーメニューを作成しましょう!
プレイ回数4653 英語長文721打 -
プログラミングを学びたい方は是非!2013/07/03公開
プレイ回数38万 1071打 -
HTML5とCSS3を学ぼう
プレイ回数2.7万 長文869打 -
html5暗記用 <>を省いています
プレイ回数1119 英語長文1245打 -
htmlやcssのタイピングです。
プレイ回数7928 英語長文120秒 -
プログラミングを学びたい方は是非!2025/05/21公開
プレイ回数4946 610打 -
webクリエイター試験上級までカバー
プレイ回数3667 長文2136打
問題文
ふりがな非表示
ふりがな表示
(const p=document.createElement("p");)
const p=document.createElement("p");
(const text=document.createTextNode("new text");)
const text=document.createTextNode("new text");
(p.appendChild(text);)
p.appendChild(text);
(const parent=document.getElementById("div1");)
const parent=document.getElementById("div1");
(parent.appendChild(p);)
parent.appendChild(p);
(const child=document.getElementById("p1");)
const child=document.getElementById("p1");
(parent.insertBefore(p,child);)
parent.insertBefore(p,child);
(child.remove();)
child.remove();
(parent.replaceChild(p,child);)
parent.replaceChild(p,child);