Friday, 25 December 2015

How to Creat a Radio Button & Checkbox

<html>
<head>
</head>
<body>
<h1>select your gender:</h1>
<input type="radio" name="gender" value="M">Male
<input type="radio" name="gender" value="F">Female
<br>
<h1>What is your name?</h1>
<input type="checkbox" name="subject" value="krishna">krishna
<input type="checkbox" name="subject" value="Ganesh">Ganesh
<input type="checkbox" name="subject" value="Raju">Raju
<input type="checkbox" name="subject" value="Ashok">Ashok
</body>
</html>

No comments:

Post a Comment