what are the differents between 'action' and 'target' in
form tag?

Answer Posted / sujendra kumar

<form action="target"> ... </form>
ACTION attribute. This is a required attribute. This
attribute specifies where the data collected by the form is
to be sent. The destination could be an email address, e.g.,
action="mailto:BillG@lunix.net"; a URL, e.g.,
action="../index.htm"; a CGI script on your web server,
e.g., action="/cgi-sys/formmail.pl"; or an Active Server
page that will process the data, e.g.,
action="mysearch.asp", to name a few possibilities. This is
the one truly complicated issue concerning forms, and will
be addressed below in its own section.

Is This Answer Correct ?    4 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Does php require a web server?

507


What is php and how do you use it?

523


What is the use of trim in php?

519


Explain what is smarty?

554


How to create an array in php?

541






How to download and install php on windows?

598


What are the uses of implode() function?

558


What advance thing in php7?

514


What is the use of rand() in php?

600


Are parent constructors called implicitly inside a class constructor?

509


Explain the different types of errors in php.

521


Write a program to get second highest number in an array using php?

526


What are php libraries?

490


Tell us how can we display the output directly to the browser?

576


How can we calculate the similarity between two strings?

568