Hello guys,
Daily we are seeing lot of registration forms in online.How to create a Radio button ???
By using this small htnl code we can easily create radio buttons
<html>
<head>
<title>radio buttons </title>
</head>
<body>
<b>choose your gender</b><input type="radio" id="gender" name="gender" value="male">male
<input type="radio" id = "gender" name="gender" value = "female">female
<input type="radio" id="gender" name="gender" value=others>others
</body>
</html>
Daily we are seeing lot of registration forms in online.How to create a Radio button ???
By using this small htnl code we can easily create radio buttons
<html>
<head>
<title>radio buttons </title>
</head>
<body>
<b>choose your gender</b><input type="radio" id="gender" name="gender" value="male">male
<input type="radio" id = "gender" name="gender" value = "female">female
<input type="radio" id="gender" name="gender" value=others>others
</body>
</html>
Copy the above code and paste your notepad.After save with .html
After you will see a output like this picture
After you will choose your gender like male or female or others whatever it may be click on that.
How to create Radio buttons using html
Reviewed by TECH UPDATE
on
February 16, 2018
Rating:

No comments: