CodeLab
Tutorials For Everyone
Run
<!DOCTYPE html> <html> <head> <title>HTML Form Radio Control Example</title> </head> <body> <h3>HTML Form Radio Control Example</h3> Please select your City from the below list provided. <form action='/form-submit/'> <input type="radio" id="new-york" name="choice-1" value="New York"> <label for="choice-1">New York</label><br> <input type="radio" id="toronto" name="choice-2" value="Toronto"> <label for="choice-2">Toronto</label><br> <input type="radio" id="sydney" name="choice-3" value="Sydney"> <label for="choice-3">Sydney</label><br> <input type="submit" id="submit" value="Submit"> </form> </body> </html>