HTML and CSS Reference
This link goes to the Yahoo! search engine's main site and searches for the word
This link goes to the Google search engine's main site.
This link goes to the Bing search engine's main site.
The size of the links array is determined by the length property. It displays the
number of links in the document.
The for loop is used to iterate through the links array and display some of its prop-
erties. The output is shown in Figures 12.4 and 12.5.
Figure 12.4 Viewing the properties of the links object.