action attribute
The attribute of an HTML form tag that gives the address of the program that will receive the submitted data.
In more detail
In the course it names a .cgi script, such as action="adder.cgi". Pointing it at a program that just echoes the data lets you debug a form on its own.
Related terms
- HTML form — A part of a web page with fields and a submit button that sends what the user entered to a server program.
- CGI — The Common Gateway Interface, an old standard for a web server to run a program for each request and send the program's printed output back as the page.
Taught in
- First Run, And Fixing A Broken Install — Hands-on Python: Complete Video Course & Book
- Types And Functions, A Whirlwind Tour — Hands-on Python: Complete Video Course & Book
- Defining Your First Function — Hands-on Python: Complete Video Course & Book
- Several Functions, And Flow Of Control — Hands-on Python: Complete Video Course & Book
- HTML Forms And Dynamic Programs — Hands-on Python: Complete Video Course & Book
- Chapter Four In One Sitting — Hands-on Python: Complete Video Course & Book