LATIHAN FORM 4

Radio Buttons in HTML Form :
Radio Buttons are used to let the user select exactly one option from a list of predefined options. Radio Button input controls are created using the “input” element with a type attribute having value as “radio”.

<!DOCTYPE html>
<html>
<h3>Example of Radio Buttons</h3>
<body>
    <form>
        SELECT GENDER
        <br>
        <input type="radio" name="gender" id="male">
        <label for="male">Male</label><br>
        <input type="radio" name="gender" id="female">
        <label for="female">Female</label>
    </form>
</body>
</html>

Example of Radio Buttons


SELECT GENDER








HALAMAN

POPULAR POST