Definition and Usage
Defines a push button. Inside a button element you can put content, like text or images. This is the difference between this element and buttons created with the input element.
Differences Between HTML 4.01 and HTML 5.
HTML 5 has a new attribute: autofocus.
Examples.
<html>
<frame>
Name:
<input type=text name="tname"><br>
Father Name:
<input type=text name="Fname"><br>
Messages:
<textarea rows="2" cols="20" name="msg">
Type Your Message.
</textarea>
<input type=submit value=Submit Form>
<input type=reset value=Clear Form>
</frame>
</html>
No response to “How can we insert button and text boxes?”
Post a Comment