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
What is the use of strip_tags() method?
How do I find environment variables?
What is session expiry?
What does echo mean in php?
What is the difference between characters 23 and x23?
Why do we use cookie?
What is framework in php for beginners?
What are the uses of php language?
What is the mysql injection?
What are constructor and destructor in PHP?
What is the scope of a variable defined in a function?
What is the use of offset in mysql?
What is session in PHP. How to remove data from a session?
How many types of errors in php?
What is the use of mysql_fetch_array in php?