Form
<button> ... </button>
Attributes
attribute |
default |
description |
id |
none |
specifies the unique ID |
class |
none |
specifies the style sheet class |
style |
none |
specifies the style sheet |
name |
none |
assigns the name of the button control |
type |
submit |
specifies the type of button (submit, reset, button) |
disabled |
--- |
specifies that the button is disabled |
Explanation
The button tag specifies a button of input form. This tag allows you to change the image and the text enclosed in this tag to a button.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=shift_jis">
<title>Sample</title>
</head>
<body>
<h1>Sample</h1>
<form method="get" action="../bbs.cgi">
<button type="button">
You can create different types of <br>buttons<br>.
</button>
</form>
</body>
</html>