-->
Showing posts with label form with radio box. Show all posts
Showing posts with label form with radio box. Show all posts

Friday, July 17, 2020

HTML page to create radio box to choose data between two options.

Following example can be considered to understand this.
-------------------------------------------------------------------------------------------------
<html><!--starting tag of html-->
<head><!--used for meta tag-->
<title><!--used for title of page-->
form concept
</title>
</head>
<body><!--is container-->
form <br>
<form>
male:<input type="radio" name="radio1"><br>
<!--creats radio box. we can click them-->

female:<input type="radio" name="radio1">
<!--creats radio box. we can click them-->

</form>
</body>
</html>