<<Back to Article

Action

/skill level/
/viewed/
0 Times

Action is a Form attribute that communicates with the common gateway interface (CGI) program to process.

For example, if you entered "bananas" to the following form:

<form action="../processor.cgi">
Please process this: 
    <input name=food><br>
    <input type=submit>
</form>

The HTML form would send the input "bananas" to the cgi script. To the cgi script, the action would look like: ../processor.cgi?food=bananas

Back to Glossary

  • This page was last modified 23:40, 14 May 2008.
Edit this article
Reddit Digg