1. Type document.links[0].innerHTML; in the console and see what is outputted....
2. Type document.getElementById('myfirstlink').innerHTML and see what is outputted....
3. Type document.getElementsByTagName('a')[2];
4. Type document.getElementsByName('fruit');