ad

Ticker

10/recent/ticker-posts

Create form in HTML

👉HTML <FORM> TAG👈


The HTML <FORM> TAG is used to create an HTML form and it has following syntex:

<form action = "script URL" method = "GETPOST">
form elements like input, text area etc.

</form>

<html>

<head>

<title>FORM</title>

</head>
<body>
Enter your ID : <input type="text"name="ID"/><br/>
Enter your password : <input type="password"name="pswrd/><br/>
Name : <input type="text"name="c name"/>
Father name : <input type="text"father name="f name"/>
Mother name : <input type="text"mother name="m name"/>
Enter your present address:<br/> <text area rows="5"cols="50"name="address"> </text area><br/>
language known
<input type = "check box"name='eng"value="on">english
<input type = "check box"name="ass"value="on">assamese
,input type = "check box"name="hindi"value="on">hindi<br/>
<field set>
<legend> Enter your sex</legend>
<input type="radio"name="sex"value="male">male
<input type="radio"name="sex"value="female">female
</field set>
<br/>
Select your major subject:
<select name="dropdown">
<option value="maths"selected>maths</option>
<option value="physics">physics</option>
<option value="chemistry">chemistry</option>
</select>
</form>
</body>
</html>


🙏🙏🙏

Post a Comment

0 Comments