javascript get all elements with tag code example Example: get all a tags javascript document.anchors