HOME | PHP Tutorial | CSS
facebook icon
AgerNic.com
WEB DEVELOPER SITE, HTML, CSS, PHP
PHP Tutorial

PHP forms
HTML Tutorial

CSS 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

2104. HTML Tutorials - Hyper Text Markup Language
A web site for those wiling to learn HTML Markup and prepare for future web Programming. Easy HTML basic tutorials and an introduction to HTML5
https://tutorialehtml.com/

2690. Text : Text Links - HTML Tutorial
HTML basics - HTML tutorial
http://www.echoecho.com/htmltext03.htm

2693. Text : Layout - HTML Tutorial
HTML basics - HTML tutorial
http://www.echoecho.com/htmltext06.htm

3230. HTML div class container, html tutorial
HTML div class container html tutorial
https://www.agernic.com/html-tutorial/container-html-div-class.html

3017. HTML
HTML tutorials, examples, and general words of wisdom!
https://www.quackit.com/html/

2187. HTML Tutorial - Durchgestrichen
Durchstreichen, Beispiele und Anwendungen
https://tutorialehtml.com/de/html-durchgestrichen/

Your add here
PHP substr() function

PHP ucwords() function

PHP htmlentities() function

PHP printf() function

PHP define() function

PHP print() function

PHP ltrim() function

PHP wordwrap() function

PHP str_replace() function

PHP htmlspecialchars() function

PHP htmlspecialchars_decode() function

PHP strcmp() function

PHP ucfirst() function

PHP html_entity_decode() function

PHP strip_tags() function

PHP lcfirst() function

PHP echo and print Statements
HTML form action - radio HTML form - how to create
PHP Variables
HTML Table Rowspan and Colspan
Home HTML Tutorial
PHP Syntax