Using the anchors Collection

Take a look at W3C