Document JavaScript Tutorial

Syntax

document.all[index]
The document.all property is an array of all the HTML elements that are in the document.
The elements appear in the array in the order in which they were created.
Methods Associated with the document.all Array
MethodDescription
item()Returns an HTML element based on element's name
tags()Returns an array of elements that have the specified tag


    

Paint Colors


    Red

    Green

    Blue

    Orange