javascript getelementbyid get tag inside code example Example: get all a tags javascript document.anchors