Page 150 - CA_165_V2.0_Flipbook
P. 150
Combo Box for
Stream Selection
Adding a Button
You can create a button using the <input> tag with the type attribute set to button, submit, or reset.
Basic Button with <input>
<input type="button" value="Click Me">
The value attribute specifies the text displayed on the button.
Submit Button
<form>
<input type="submit" value="Submit">
</form>
When clicked, this button submits the form data to the specified action URL.
Reset Button
<form>
<input type="text" placeholder="Enter something">
<input type="reset" value="Reset">
</form>
This button resets the form fields to their default values.
The following HTML code uses the <INPUT> tag with TYPE attribute to add buttons such as RESET,
SUBMIT, and BUTTON:
<HTML>
<HEAD>
<TITLE>
ADDING A BUTTON
</TITLE>
</HEAD>
<FORM>
<INPUT TYPE="RESET" VALUE="RESET">
148 Touchpad Computer Applications-X

