Horje

How to use An HTML form with radiobuttons

See the Example
index.html
Example: HTML
<form action="/action_page.php" method="get">
  <input type="radio" id="html" name="fav_language" value="HTML">
  <label for="html">HTML</label><br>
  <input type="radio" id="css" name="fav_language" value="CSS" checked="checked">
  <label for="css">CSS</label><br>
  <input type="radio" id="javascript" name="fav_language" value="JavaScript">
  <label for="javascript">JavaScript</label><br><br>
  <input type="submit" value="Submit">
</form>

Output should be:

How to use An HTML form with radiobuttons




Type:
html
Category:
Web Tutorial
Sub Category:
HTML Tag
Uploaded by:
Admin