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

Answer Posted / ram

Action:
Action attribute specifies where to send the form-data when
a form is submitted.
Syntax: <form action=”value”);
Example: <form name="email_check" method="post"
action="formValidation.php">
Target:
The target attribute specifies where to open the action URL.
Syntax: <form target="value">
Value:
_blank – open in new window
_self- Open in the same frame as it was clicked
_parent- Open in the parent frameset
_top- Open in the full body of the window
Framename- Open in a named frame

Is This Answer Correct ?    15 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of strip_tags() method?

543


How do I find environment variables?

500


What is session expiry?

527


What does echo mean in php?

548


What is the difference between characters 23 and x23?

542






Why do we use cookie?

539


What is framework in php for beginners?

516


What are the uses of php language?

519


What is the mysql injection?

541


What are constructor and destructor in PHP?

538


What is the scope of a variable defined in a function?

550


What is the use of offset in mysql?

519


What is session in PHP. How to remove data from a session?

504


How many types of errors in php?

559


What is the use of mysql_fetch_array in php?

501