Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR HTML

html input radio group

	<form action="/your_server.php">
        <p>Please select your favorite animal:</p>
        <input type="radio" id="dog" name="fav_animal" value="Dog">
        <label for="dog">Dog</label><br>
        <input type="radio" id="monkey" name="fav_animal" value="Monkey">
        <label for="monkey">Monkey</label><br>
        <input type="radio" id="cat" name="fav_animal" value="Cat">
        <label for="cat">Cat</label>
        <br><br>
        <input type="submit" value="Submit">
   </form>
 
PREVIOUS NEXT
Tagged: #html #input #radio #group
ADD COMMENT
Topic
Name
8+8 =