Input Tag in HTML



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: 

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: 

  




Share on Google Plus

About It E Research

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment