What are the attributes of the <form> tags? What are their functions?



What are the attributes of the <form> tags? What are their functions?..

Answer / Ahmad Faraz

"Attributes of the <form> tag": The <form> tag is used in HTML to define an interactive part of a webpage, allowing users to submit data to the server.nnSome common attributes of the <form> tag include:n
1. action: Specifies the URL of the resource that will handle the submitted form data.
2. method: Defines how the form data should be sent to the server (GET or POST).
3. target: Specifies the frame or window where the response should be displayed.
4. name: Gives a unique name to the form, which can be used in scripts to manipulate the form's content.
5. enctype: Defines the MIME encoding of the form data when it is submitted.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More ASP Interview Questions

What is the difference between the value-type variables and reference-type variables

1 Answers  


how can we delete cookies by coding part . so pls help me

1 Answers   HCL,


sir,please send me the NIC exam questions

0 Answers  


What is asp format?

1 Answers  


Define the asp scripting objects?

1 Answers  


What are the advantages of Cookies over Session Object?

1 Answers  


How to add? tree view control in datagrid in asp.net using c#?

1 Answers  


What is hidden field?

1 Answers  


Plz give me the code for binding the dropdownlists with Country,State,City And Each will represent after selecting upper dropdownlist

1 Answers   TCS,


What is Cookies collection?

1 Answers  


what is the difference between #include directory in C,C++ and import java.packages in java

1 Answers   Genpact,


What is the difference between ASP and HTML?

9 Answers  


Categories