Css :- Input check tag


    The :checked selector matches every checked <input> element (only for radio buttons and checkboxes) and <option> element.

<!DOCTYPE html>
<html>

<head>
 <meta name="viewport" content="width=device-width, initial-scale=1">

 <style>
  input:checked {
   width: 40px;
   height: 40px;
  }
 </style>

</head>

<body>
 Gender
 <label><input type="radio" name="rdo1">Male</label>
 <label><input type="radio" name="rdo1">female</label>
 <br> Favorite fruit
 <label><input type="checkbox" name="rdo1">banana</label>
 <label><input type="checkbox" name="rdo1">Apple</label>
 <label><input type="checkbox" name="rdo1">Mango</label>
 <label><input type="checkbox" name="rdo1">Orange</label>

</body>

</html>
Css :- Input check tag Css :- Input check tag Reviewed by Network security on May 23, 2019 Rating: 5

No comments:

Useful Information

Powered by Blogger.