get images from html collection code example Example: how to access all images in a document javascript how to access all images in a document javascript