This leaves one final HTML tag that I've not talked about yet:
This tag defines an area where a user can input data. It can accept typed text or files such as audio, video, and images. Of all the tags discussed on the other pages, this one has the most attributes by far, with quite a number being added for HTML5.
The first line defines the input box as being for text, set its ID to "txt1", and accepts the user's input. The second line then controls what happens when the button is pressed -- it takes the input from the input box, via its ID ("txt1"), and sends it to the changeBackgroud() function for processing.
I see, now, that I used the name="" attribute in both lines. When looking over the code for this assignment, I find that those are not used any other place -- so I could have just left them off.
Click here for more information on the <input> tag and its attributes.
A search bar example for Ryan in my CIS133 class: