www.pickatutorial.com Computer Tutorials
Top eBooks: C/C++ | C# | Android | Mathematics | Database | Cloud | Graphics | Networking | Oracle | Hardware | AI
Top Tutorials: C/C++ | C#.NET | PHP MySQL | Java | Java Script | jQuery | HTML | xHTML | HTML5 | VB Script| CSS
Lessons HTML Button Fields Bookmark and Share
Tutorial Home
Lesson 1
Lesson 2
Lesson 3
Lesson 4
Lesson 5
Lesson 6
Lesson 7
Lesson 8
Lesson 9
Lesson 10
Lesson 11
Lesson 12
Lesson 13
Lesson 14
Lesson 15
Lesson 16
Lesson 17
Lesson 18
Lesson 19
Lesson 20
Lesson 21
Lesson 22
Lesson 23
Lesson 24
Lesson 25
Lesson 26
Lesson 27
Lesson 28
Lesson 29
Lesson 30
Lesson 31
Lesson 32
Lesson 33
Lesson 34
Lesson 35
Lesson 36
HTML Buttons:

There are three types of buttons in HTML, i.e., simple buttons, reset buttons and submit buttons.

Simple Buttons can be added as under:

This is a button<input type="button" value="Test Button" name="btn">

The output will be:

This is a button

Buttons are used to intiate an action, when a user clicks on them. The value of the value attribute appears on the button face.

Reset Buttons: 

Reset buttons can be added as under:

This is a reset button<input type="reset">

The output will be:

This is a reset button

Reset buttons in a form are used to clear the contents of the form. When the user clicks on a reset button the contents of every form element is reset. In the case of a reset button we do not need to use the value and name attributes, but we can if we want to.

Submit Button:

Every form usually has a submit button. When the user clicks on a submit button it submits the data to the sever. A submit button can be added as under:

This is a submit button<input type="submit"> </form>

The output will be:

This is a submit button

Like a reset button, we need not to specify the value and the name attributes, but we can if we want to.


Next >>> Lesson No. 34: Meta Tags







Home - Advertise - Contact - Disclaimer - About Us
© Since 2006 pickatutorial.com -- All Rights Reserved.