<input> HTML Tag

In this article I will discuss the <input> HTML Tag.
  • 1665

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></title>

</head>

<body>    

        <form>

        UserName:

        <input type="text" name="UserName" value="" /><br />

        Password:

        <input type="text" name="Password" value="" /><br />

        <input type="submit" value="Submit" />

        </form>

</body>

</html>


Output


 input.jpg


Ask Your Question 

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

Programming Answers here

© 2020 DotNetHeaven. All rights reserved.