Difference between revisions of "Form Page"

From Pathology Education Instructional Resource
Jump to: navigation, search
(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....")
 
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<pre>
+
<syntaxhighlight lang="html5" enclose="div">
 
<html>
 
<html>
 
   <head>
 
   <head>
Line 19: Line 19:
 
   </body>
 
   </body>
 
</html>
 
</html>
</pre>
+
</syntaxhighlight>
 +
 
 +
 
 +
{{This Is Your Brain On Informatics}}
 +
 
 +
[[Category:This Is Your Brain On Informatics]]

Latest revision as of 02:40, 19 March 2014

<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>