<button> tag is introduced in HTML 4.0. Almost all the new versions of the browsers support this tag.
This tag takes 4 attributes namely:
1. name
2. type
3. disabled
4. value
“type” attribute specifies the type of button. It takes 3 values. They are : Submit, Reset, Button.
If it is a “submit” button and the browser is IE then it submits the text present in between the button start and end tags. All other browsers submit the content of “value” attribute.
No comments:
Post a Comment