Button Field of a Web form

When we create a button, it acts like a generic button. That is, It will not perform any action when we click on it unless some action has been explicitly written by the user. A generic button can be created as :
<input type="button" name="Name of the button" value="value of the object">

Attributes of Button Field:

Name: Specifies the name of the object through which it can be referenced.
Value: Specifies the value of the button field. This will be the text that is going to be displayed on the button.


<input type="button" name="btn" value="Click">

This places a button within the HTML form, which can be referenced by using its name "btn" and whose value is "Click".
The button will be displayed as below:
Script / Application Description
Button as LinkHow to use buttons as hyper link to navigate to different pages
Hyper LinkHyper Links to click and visit another page
Opening a new windowHyper Links to click and open a new window
Opening child windowOpening child window using JavaScript
Linking within pageCreating links to different sections of the same page
Part of Image as linkImage map to use part of the image for different hyper links
Mailto LinkOpening client email application with to post email


* indicates required
Subscribe to plus2net


    Post your comments , suggestion , error , requirements etc here .

    We use cookies to improve your browsing experience. . Learn more
    HTML MySQL PHP JavaScript ASP Photoshop Articles FORUM . Contact us
    ©2000-2022 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer