English
Tamil Nadu Board of Secondary EducationHSC Science Class 11

Explain the main attributes used with <form> tag. - Computer Applications

Advertisements
Advertisements

Question

Explain the main attributes used with <form> tag.

Answer in Brief

Solution

The important attributes used with the <form> tag are method and action attributes.

Method: The method attribute of the form tag is used to identify how the form element names and values will be sent to the server.

The get method will append the names of the form elements and their values to the URL.
The post method will send the names and values of the form elements as packets.

Action:
The action attribute identifies the server-side program or script that will process the form. The action will be the name of a Common Gateway Interface (CGI) program written in programming languages like Perl, JavaScript, PHP or Active Server Pages (ASP).

shaalaa.com
Inserting Images
  Is there an error in this question or solution?
Chapter 12: HTML - Adding multimedia elements and Forms - Evaluation [Page 284]

APPEARS IN

Samacheer Kalvi Computer Applications [English] Class 11 TN Board
Chapter 12 HTML - Adding multimedia elements and Forms
Evaluation | Q 3. | Page 284
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×