getelementsbytagname within a div

JavaScript
document.anchors
Source

Also in JavaScript: