Displays all the anchor tags' href and alt attributes in a list.