HTML input elements are form elements such as form fields, checkboxes and buttons. The name comes from the <input> tag, which is a mark-up that recognizes web form components. The <Input> tag relies on some features to classify and name each form item, giving the web developer the means to manipulate each element individually.
Example -
<form action="#">
First name: <input type="text" name="FirstName" placeholder="enter firstname..."><br>
Last name: <input type="text" name="LastName" placeholder="enter lastname..."><br>
<input type="submit" value="Submit">
</form>
First name:
Last name:
Last name:
Example -
<formg name="myWebForm" action="mailto:youremail@email.com" method="post">
Check Me: <input type="checkbox" /><br />
Name: <input type="text" /><br />
Yes: <input type="radio" /> No: <input type="radio" /><br />
<input type="submit" value="SUBMIT" />
<input type="reset" value="RESET" />
</form>
Check Me:
Name:
Yes: No:
Name:
Yes: No:
0 comments:
Post a Comment