当前位置: 首页 > 网络学院 > 客户端脚本教程 > HTML DOM > HTML DOM anchors 集合
The anchors collection returns a reference to all Anchor objects in the document.
anchors 集合可用来返回文档中所有Anchor(锚点)对象参考
document.anchors[] |
<html> <body> Number of anchors in this document: </html> |
Return the number of anchors in a document
返回文档中锚点的数量
Return the innerHTML of the first anchor in a document
返回文档中第一个锚点中的文字
您看完这篇文章的心情是: <已有0人发表看法> | |||||||
0![]() | 0![]() | 0![]() | 0![]() | 0![]() | 0![]() | 0![]() | 0![]() |
![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() | ![]() |
吃惊 | 欠揍 | 支持 | 很棒 | 一般 | 搞笑 | 扯淡 | 不解 |
没有评论