fix: add spacing to Adding Nodes to DOM section table
This commit is contained in:
1 parent
d4e62202a3
commit
51cd55ce6b
1 file changed
+1
@@ -69,6 +69,7 @@ newHeading.textContent = "This is a new heading!";
|
||||
|
||||
### 向DOM添加节点
|
||||
当你有一个父DOM节点时,你可以使用以下函数添加或删除子DOM节点:
|
||||
|
||||
| 名称 | 描述 |
|
||||
| ----------- | ----------- |
|
||||
| parent.appendChild(node) | 将给定节点放在该节点的子节点列表的末尾 |
|
||||
|
||||
Reference in new issue
Block a user