<form>


<form> will be used, when we need to create a html page which will take user input and submit to the server.

Syntax:

<form> <input type="text" /><br /> <input type="submit" value="Submit" /> </form>

Example:

<html> <head> <title>HTML Tutorial</title> </head> <body> <form action="form.aspx" method="get" target="_parent"> Enter Valud : <input type="text" name="input" /><br /> <input type="submit" value="Submit" /> </form> </body> </html>

Output:

Enter Value :