doc: insert picture in what's inside the DOM section
This commit is contained in:
1 parent
cfaca517e0
commit
6fdd2d936e
1 file changed
+1
@@ -28,6 +28,7 @@ abbrlink: 18007
|
|||||||
- puppyImg.src 由浏览器设置为images/puppy.png
|
- puppyImg.src 由浏览器设置为images/puppy.png
|
||||||
- puppyImg.alt 由浏览器设置为"一个奇妙的小狗照片"
|
- puppyImg.alt 由浏览器设置为"一个奇妙的小狗照片"
|
||||||
- class或id,可用于在JS中选择项目
|
- class或id,可用于在JS中选择项目
|
||||||
|
[DOM结构](/images/DOM-Tree.png)
|
||||||
|
|
||||||
## 通过ID访问元素:
|
## 通过ID访问元素:
|
||||||
```javascript
|
```javascript
|
||||||
|
|||||||
Reference in new issue
Block a user