Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. Which is a possible way of finding all the img elements in the document?

  2. A.

     document(images)

    B.

     document.images[]

    C.

     document(img)

    D.

     all of the mentioned

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    The best suited option is document.image[] to find all img elements in the document.


Be The First To Comment