johnmahugu

php - forms

Jun 25th, 2015
337
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.55 KB | None | 0 0
  1. <a href="index.php">Go back to index</a>
  2. | <a href="<?php echo $_SERVER["REQUEST_URI"];?>">Refresh</a>
  3.  
  4. <title>Forms</title>
  5. <h1>Forms</h1>
  6.  
  7. <h2>Input</h2>
  8.  
  9. type=text: <input type=text><br>
  10. type=(empty) <input><br>
  11. type=password: <input type=password><br>
  12. type=checkbox: <input type=checkbox><br>
  13. type=submit: <input type=submit><br>
  14. type=button: <input type=button value=button><br>
  15.  
  16. <h3>Textarea</h3>
  17.  
  18. <textarea cols=60 rows=6></textarea>
  19.  
  20. <h3>Select</h3>
  21.  
  22. <select>
  23.     <option>option 1</option>
  24.     <option>option 2</option>
  25. </select>
Advertisement
Add Comment
Please, Sign In to add comment