Difference between revisions of "Form Page"
(Created page with "<pre> <html> <head> <title> <!--Determines the name of the HTML website, displayed on the the tab--> HTML File </title> </head> <body> <form action="test....") |
(No difference)
|
Revision as of 17:50, 23 October 2013
<html> <head> <title> <!--Determines the name of the HTML website, displayed on the the tab--> HTML File </title> </head> <body> <form action="test.php" method="get"> <!--Introduces the form where action links to the php file--> <select name="var"> <!--Creates a selectable list (dropdown list)--> <option value="0">0</option> <!--Creates an option in a dropdown list where value refers to php variable $_GET['var']--> <option value="1">1</option> </select> <input name="ooga" type="text"></input> <!--Creates a textbox for input where name refers to the php variable as above--> <input type="submit" value="submit"></input> <!--Creates the submit button that creates an output with the value--> </form> </body> </html>