Document JavaScript Tutorial

Syntax

document.all.tags(tag)
The tags() method provides a way to retrieve all HTML elements of a particular tag type from the document.all array.
The method returns an array of elements.


    

Paint Colors


    Red

    Green

    Blue

    Orange