input.html 704 B

1234567891011121314151617181920212223242526
  1. <html>
  2. <body>
  3. <!-- Specifying how the form data should be processed -->
  4. <form name="form1" method="post" target="output" action="output.php?saving=1">
  5. Write your program here:
  6. <br>
  7. <!-- Accepting program code -->
  8. <textarea name="data" cols="80" rows="10">
  9. </textarea>
  10. <br><br><br>
  11. <!-- Accepting standard input -->
  12. Standard input: <input type="text" name="stdin">
  13. <br><br>
  14. <!-- Accepting command-line agruments -->
  15. Command line arguments: <input type="text" name="args">
  16. <br><br>
  17. <!-- Submit button goes here -->
  18. <input type="submit" value="Run">
  19. </form>
  20. <br>
  21. <!-- Provide a link to text input option -->
  22. <a href="textinput.php" target="output">Click here to submit text file input</a>
  23. </body>
  24. </html>