HTML and CSS Reference
In-Depth Information
This link goes to the Yahoo! search engine's main site and searches for the word
“JavaScript tutorial.” Note: The browser inserted a %20 for the space between
“JavaScript”and “tutorial”, an example of URL encoding.
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.
Search WWH ::

Custom Search