Push Button:
This element would be used with
JavaScript
to cause an action to take place.
<INPUT TYPE=“BUTTON”>
Push
Button has the following attributes:
§TYPE:
button.
§NAME: is
the name of the button to be used
in
scripting.
§VALUE:
determines the text label on the button.
Example on Push Button
<DIV
align=center><BR><BR>
<FORM>
<FONT Color=red>
<h1>Press Here to see a
baby crying:<BR>
<INPUT TYPE="button"
VALUE="Press
Me"><BR><BR>
<FONT Color=blue>
Click Here to see a baby
shouting:<BR>
<INPUT TYPE="button"
VALUE="Click Me" > <BR><BR>
<FONT Color=green>
Hit Here to see a baby eating:<BR>
<INPUT TYPE="button"
VALUE="Hit ME" > <BR><BR>
<FONT Color=yellow>
</FORM></DIV>
Output
Comments
Post a Comment