Saved Bookmarks
| 1. |
A web page contains a button. Write HTML code for the button which executes a function Message() on the occurrence of the following events.(a) When a user clicks the mouse on the button.(b) When user moves the mouse over the button. |
|
Answer» (a) <inputtype=”button”value=”Message” onClick=”Message()"> (b) <input types”button” value=”Message” onMouseEnter=”Message()”> |
|