AgerNic.com
WEB DEVELOPER SITE, HTML, CSS, PHP, SQL
HTML Tutorial

HTML form action - radio HTML form - how to create

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 1:
<!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>

The html cod above will display this HTML result where you can colect data as: Name and Surname of your visitors .

Name:
Surname:
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 2:
<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>
The html cod above will display this HTML result where you can colect data as: Name, Surname angender of your visitors. Example 3 of index.html:

Radio Buttons example

Name:
Surname:
Male
Female
Other


HTML form action, radio html form, how to create html form
HTML form action - radio HTML form - how to create - html tutorial

Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


HTML Templates
news 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
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.


HTML Img Background
HTML Image Link
HTML Image Size
HTML Text Style
HTML Text Align
HTML Text Size
HTML Text Color Style
HTML Text Color
HTML Table Color
HTML Table Row Colspan
HTML Table Width
HTML Table Style
HTML Table Border
HTML Table
HTML Font Face
HTML Font Size
HTML Font Color
HTML Headings
HTML div border color
HTML div class
HTML class container
HTML form action
HTML comment
HTML link new tab
HTML link underline
HTML link tag
HTML button action
HTML button onclick
HTML button link
HTML table style
HTML image
HTML colors
HTML div style
Text, paragraf in HTML
HTML Tags Attributes
HTML - Elements
HTML Introduction
Home HTML Tutorial
Online Editor
ONLINE EDITOR

news templates


COLOR PICKER

news templates
This tool makes it easy to create, adjust, and experiment with custom colors for the web.


HTML Templates
news 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
news templates
Find here examples of creative and unique website layouts.


Free CSS HTML Menu
news templates
Find here examples of creative and unique website CSS HTML menu.