Radio element
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<form>
Choose your favorite Fruit
<div>
<input type="checkbox" name="Fruit" id="banana">
<lable for="banana">banana</lable>
</div>
<div>
<input type="checkbox" name="Fruit" id="apple">
<lable for="apple">Apple</lable>
</div>
<div>
<input type="checkbox" name="Fruit" id="mango">
<lable for="mango">mango</lable>
</div>
<button>Submit</button>
</form>
</body>
</html>
Comments
Post a Comment