Thursday, 22 November 2012

form controls in html

<HTML> <HEAD> <TITLE>KMIT FORM </TITLE> </HEAD> <BODY> <form id="myform" method="get" action=" "> <strong>FIRST NAME:</strong> <input type="text" id="fname" value="enter your first name"/><br> <strong>PASSWORD:</strong> <input type="password" id="pass"/><br> <input type="radio" name="sex" value="male">male</input><br> <input type="radio" name="sex" value="female">female</input><br> <INPUT TYPE="checkbox" NAME="reading" value="r">Reading</input><br> <INPUT TYPE="checkbox" NAME="writing" value="w">writing</input><br> <strong>address:</strong> <textarea id="address" rows="5" cols="10"></textarea><br> <strong>Branch</strong> <select id="branch"> <option id="cse">CSE</option> <option id="ece">ECE</option> <option id="eie">EIE</option> <option id="it" selected>IT</option> </select> <INPUT TYPE="submit" VALUE="submit"> <INPUT TYPE="reset" value="clear now"/> </form> </BODY> </HTML>

No comments:

Post a Comment