The HTML Form
This is the HTML page. It contains a simple HTML form and a link to a javascript
:
Suggestions:
Example Explained - The HTML Form
As you can see, the HTML page above contains a simple HTML form with an input field called "txt1".
The form works like this:
- An event is triggered when the user presses, and releases a key in the input field
- When the event is triggered, a function called showHint() is executed.
- Below the form is a called "txtHint". This is used as a placeholder for the return data of the showHint() function.