INPUT <input> Tag

by Jai 09-Jul-19

0 664

The <input> tag is used to create input fields in HTML document. When user puts the data in input fields, he can be able to communicate with a website or an application.

An input tag use type attribute which describes the type of data you want. The <input> tag is an empty tag. It contains attributes like type, submit, and more.


<title>Input Tag</title>
<h2>HTML Input Example</h2>
<form action="#">
First Name: <input type="text" name="fname"><br>
Last Name: <input type="text" name="lname"><br>
<input type="submit" value="Submit">


INPUT <input> Tag


Leave a Reply

    Waiting for your comments