FORM TAG.HTML

 <html>

<head>

<title> Form Tag</title>

</head>

<body align="left">

<form action="" method="">

<fieldset>

<legend>Enter Detail</legend>

<lable> User Name</lable><input type="text" name="" placeholder="Enter your name" > <br/><br/>

<lable> password</lable><input type="Password" name=""placeholder="Enter your password" ><br/><br/>

<lable> Gender</lable><input id="male" type="radio" name="gender"><label for="male">Male</label><input id="female" type="radio" name="gender"><label for="female">Female</label><br/><br/>

    

<lable> Massage</lable><textarea rows="10"cols="50"> Write Massage</textarea><br/><br/>

<lable> Country</lable> <select>

<option selected

>India</option>

<option>Pakistan</option>

<option>China</option>

<option>Nepal</option>

</select><br/><br/>

<lable> CARS</lable><select>

<optgroup label="Toyota">

<option>Inova</option>

<option>Etios</option>

<option> Fortuner</option>

</optgroup>

<optgroup label="Renault">

<option>Kwid</option>

<option>Duster</option>

<option> Captur</option>

</optgroup>

</select> <br/><br/>

<lable> CARS</lable> <input list="Cars">

<datalist id="Cars">

<option value="Inova">

<option value="Etios">

<option value="Kwid">

<option value="Duster">

</datalist> <br/><br/>

<lable> Upload File</lable><input type="file" accept="image/*"> <br/><br/>


<input type="Submit"/>

<input type="reset"/><br/><br/>

<lable> E-mail</lable> <input type="email" name=""> <br/><br/>

<input type="submit"/> <br/><br/>

<lable> URL</lable> <input type="url" name=""> <br/><br/>

<input type="submit"/><br/><br/>

<lable> Search</lable> <input type="search" name=""> <br/><br/>

<input type="submit"/><br/><br/>

<lable>Phone no </lable> <input type="Tel" name=""> <br/><br/>

<input type="submit"/><br/><br/>

</fieldset>

</form>

</body>

</html>

Comments

Popular posts from this blog

ANCHOR TAG.HTML

Multiplication of three numbers in C#

switch in c#