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 :

<html>

<head>

    <title>HTML Tutorial</title>

</head>

<body>

    <div>

        Enter you Email ID :

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

    </div>

</body>

</html>


Output :
HTML Tutorial
Enter you Email ID :
Previous Next




Search dotnetlearners.com