Can someone show me an example with "htmlcollection" please

With this code to be more specific, thanks.

var arr = htmlCollection )


You could have something like this:

<form id="one">


<form id="two">


On your JavaScript:


So if I wanted I could use documenent.getElementById"one". Rather than document.forms?

What exactly are you trying to accomplish? You can use many different methods to acquire any comination of HTML elements, but you have given us no context.