HTML Tutorial
HTML form action - radio HTML form - how to create
Python Tutorial » HTML form action
The HTML <form> element defines a form that is used to collect user data input. HTML Forms are required, when you need to collect some data from the site visitor.
HTML form action attribute - how to create
HTML syntax form −
<form action = "Script URL" method = "GET|POST">
form elements like input, textarea etc.
</form>
- how to create -
On submit, send the form-data to a file named "/action_name_page.php" (to process the input data):
Example:
<!DOCTYPE html>
<html>
<head>
<title>Title of button action</title>
</head>
<body>
<form action="/action_name_page.php">
Name: <input type="text" name="Name" value="Your Name"><br>
Surname: <input type="text" name="SurName" value="Your SurName"><br>
<input type="submit" value="Submit">
</form>
</body>
</html>
<html>
<head>
<title>Title of button action</title>
</head>
<body>
<form action="/action_name_page.php">
Name: <input type="text" name="Name" value="Your Name"><br>
Surname: <input type="text" name="SurName" value="Your SurName"><br>
<input type="submit" value="Submit">
</form>
</body>
</html>
The html cod above will display this HTML result where you can colect data as: Name and Surname of your visitors .
Output:Note: You colect this data Name if the user want.
Radio HTML form - how to create - Radio Button Input
This HTML code <input type="radio"> defines a radio button.
Radio buttons let our users to decide ONE of a limited number of choices:
Example:
Output:
<h2>Radio Buttons example</h2>
<form action="/action_name_page.php">
Name: <input type="text" name="Name" value="Tour Name"><br>
Surname: <input type="text" name="SurName" value="Your Surname"><br>
<input type="radio" name="gender" value="male" checked> Male<br>
<input type="radio" name="gender" value="female"> Female<br>
<input type="radio" name="gender" value="other"> Other
<input type="submit" value="Submit">
</form>
HTML cod above will display result where you can colect data as: Name, Surname, gender of your visitors.<form action="/action_name_page.php">
Name: <input type="text" name="Name" value="Tour Name"><br>
Surname: <input type="text" name="SurName" value="Your Surname"><br>
<input type="radio" name="gender" value="male" checked> Male<br>
<input type="radio" name="gender" value="female"> Female<br>
<input type="radio" name="gender" value="other"> Other
<input type="submit" value="Submit">
</form>
Output:
HTML form action, radio html form, how to create html form
HTML form action - radio HTML form - how to create - html tutorial
Online Editor
This tool makes it easy to create, adjust, and experiment with custom colors for the web.
HTML Templates

Magnews2 is a modern and creative free magazine and news website template that will help you kick off your online project in style.
CSS HTML Layout

Find here examples of creative and unique website layouts.
Free CSS HTML Menu

Find here examples of creative and unique website CSS HTML menu.