- A document(images)
- B document.images[]
- C document(img)
- D doc(img)
- Share this MCQ
Answer:
B
Share this MCQ
To find all img elements in a document, you can use the document.images[]
option. The index of the desired img element can be specified using [index].
The document.images[]
option is the best way to locate all img elements in a document. You can use [index] to specify the index of the img tag you want to select.
When trying to find all img elements in a document, you can use document.images[]
. The [index] parameter can be used to select a specific img element by its index.
The document.images[]
option is the most suitable choice for finding all img elements in a document. You can use the [index] parameter to select a particular img element by its index.
Share this MCQ