JS 节点集合

<form action=""> </form>
<form action=""> </form>
<form action=""> </form>

<a href="">百度</a>
<a href="">天猫</a>
<a href="">京东</a>

<img src="1.jpg" alt="">
<img src="2.jpg" alt="">
<img src="3.jpg" alt="">

<script type="text/javascript">
    //获取所有的form标签
    var fs = document.forms;
    //获取a链接
    var as = document.links;
    //获取页面中所有的img标签
    var imgs = document.images;
</script>