Note:Returns an array of all links in both the and elements in a document. Syntax: document.links // returns all linksdocument.links(param1) // returns an individual linkParameters: param1 Required; the zero-based index