Menu ▼

Previous Next

TextBox :

TextBox will be used when we need to take some input form the user. for input tag we have to specify the type as "text", then it will render a textbox in output.

Syntax :

<input type="text" />

Example :



    <title>HTML Tutorial</title>




        Enter you Email ID :

        <input type="text" name="txtEmailID" id="txtEmailID" />




Output :
HTML Tutorial
Enter you Email ID :
Previous Next