034-form-submit.html 784 B

123456789101112
  1. <!doctype html>
  2. <html><head><meta charset="utf-8"><title>034 form submit</title>
  3. <style>html,body{margin:0;padding:0;background:#fff;color:#222;font-family:sans-serif;font-size:13px}body{padding:10px}h1{font-size:20px;margin:0 0 8px}form{margin-top:8px}input,select{margin-right:8px;font-size:13px}</style></head><body>
  4. <h1>034 &middot; form GET submission</h1>
  5. <p>Type in the text field and press Enter (or click Go). The URL should gain <code>?q=...&amp;c=yes&amp;s=b</code>.</p>
  6. <form action="/floppy1/034.htm" method="get">
  7. <input type="text" name="q" value="hello">
  8. <input type="checkbox" name="c" value="yes" checked>
  9. <select name="s"><option value="a">One</option><option value="b" selected>Two</option></select>
  10. <input type="submit" value="Go">
  11. </form>
  12. </body></html>