<input> Tag in HTML

In this article i am going to explain about input tag in HTML
  • 1593

Definition

<input> tag is used to collect the information form the user and send to web server. This is used within the <form> tag. You can add controls like text, button, password.  <input> tag can work according to their attributes.

Supporting Browsers

Internet Explorer, Mozilla Firefox, Google Chrome, Safari and Opera are the supporting browsers.

Example
 

<html>
<head>

    <title></title>
</head>

<body>
    Email:

    <input type="text" name="text box">
    <br />

    Password:
    <input type="text" name="text box">

    <br />
    <input type="button" name="btn" value="Submit" />

</body>
</html>

Output

input.7.jpg

Further Readings

You may also want to read these related articles

 Ask Your Question 

Got a programming related question? You may want to post your question here

Programming Answers here

© 2020 DotNetHeaven. All rights reserved.