Hyper Text Markup Language (HTML) Question:
Download Job Interview Questions and Answers PDF
How do I use forms?
Answer:
The basic syntax for a form is: <FORM ACTION="[URL]">...</FORM>
When the form is submitted, the form data is sent to the URL specified in the ACTION attribute. This URL should refer to a server-side (e.g., CGI) program that will process the form data. The form itself should contain
► at least one submit button (i.e., an <INPUT TYPE="submit" ...> element),
► form data elements (e.g., <INPUT>, <TEXTAREA>, and <SELECT>) as needed, and
► additional markup (e.g., identifying data elements, presenting instructions) as needed.
When the form is submitted, the form data is sent to the URL specified in the ACTION attribute. This URL should refer to a server-side (e.g., CGI) program that will process the form data. The form itself should contain
► at least one submit button (i.e., an <INPUT TYPE="submit" ...> element),
► form data elements (e.g., <INPUT>, <TEXTAREA>, and <SELECT>) as needed, and
► additional markup (e.g., identifying data elements, presenting instructions) as needed.
Download HTML Interview Questions And Answers
PDF
Previous Question | Next Question |
What is everyone using to write HTML? | Do I have to memorize a bunch of tags? |