Introduction:
The HTML
input
tag is used within a form to declare an input element - a control that allows the user to input data.Using the input
tag, you can add controls such as text input, radio buttons, checkbox controls, submit buttons, and more.
Example:
<html> <head> <title>HTML input Tag</title> </head> <body> <form action="http://www.gohilinfotech.blogspot.in/" method="get"> First name: <input type="text" name="first_name" value="" maxlength="100" /> <br /> Last name: <input type="text" name="last_name" value="" maxlength="100" /> <input type="submit" value="Submit" /> </form> </html>
0 comments :
Post a Comment