There are a certain number of different file types we can find in a Web page. Among them are:
A Scriptlet can have any of these files as constituent components. All of them have a place in some of the Dynamic HTML collections. Links, frames, images have specific lists of elements. For applets and controls there's the global collection of all the elements in a page.
In any case, through the Dynamic HTML object model we are able to gather information about all the files used throughout the page.