Monday, September 2, 2019

Html Form example with almost all its tags.

<html>
<head>
<title>Form design</title>
</head>
<body bgcolor="yellow" text="red">
<h1 align="center">Demo Form</h1>
<form action="table.html" method="post">
<center>
<h3>FirstName:<input type="text" name="t1" placeholder="firstName"></h3><br>
<h3>LastName:<input type="text" name="t2" placeholder="LastName"></h3><br>
<h3>Email:<input type="email" name="t3" placeholder="EmailId"></h3><br>
<h3>Password:<input type="password" name="t4" placeholder="password"></h3><br>
<h3>Language Known:<input type="checkbox" name="cb1" value="Hindi">:Hindi
<input type="checkbox" name="cb2" value="English">:English
<input type="checkbox" name="cb3" value="Urdu">:Urdu</h3><br>
<h3>Select Your Gender:<input type="radio" name="r" value="Male">:Male
<input type="radio" name="r" value="Female">:Female
<input type="radio" name="r" value="Other">:Other</h3><br>
<h3>Select Your State:<select>
<option value="selected">Select</option>
<option value="uttarpradesh">uttarpradesh</option>
<option value="Maharastra">Maharashtra</option>
<option value="Andhrapradesh">Andhrapradesh</option>
<option value="uttarpradesh">uttarpradesh</option>
<option value="Madhyapradesh">Madhyapradesh</option>
<option value="Kerala">Kerala</option>
</select></h3><br>
<h3>Which Social Site you mostly use:<datalist id="k">
<option value="Facebook"></option>
<option value="Whatsapp"></option>
<option value="Twitter"></option>
<option value="Instagram"></option>
<option value="Orkut"></option>
<option value="Messanger"></option>
</datalist>
<input list="k"></h3><br>
<input type="submit" value="submit">
</center>
</form>
</body>
</html>


Font and Basefont tag of html in a very easy way.

Difference between font and basefont tag in html:- Font tag is a container tag. Basefont tag is empty tag. We can apply font tag in a ...