Advertisements
Advertisements
प्रश्न
Explain the main attributes used with <form> tag.
उत्तर
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).
APPEARS IN
संबंधित प्रश्न
Which image format was standardize by W3C?
The tag used to insert an image in HTML:
Inline sound can be inserted using which of the following tag?
Which value causes the audio play as long as the page is in view?
The tag is used to create dropdown list box in HTML is:
Match the following:
(a) <textarea> | (1) inline |
(b) <input> | (2) Video |
(c) <bgsound> | (3) Multiline input |
(d) <embed> | (4) Password |
List out the popular image formats.
What is inline sound or movie?
Write a short note on familiar images format.
The attribute of the <IMG> tag used to specify the location of an image is ______.
Which of the following is not an attribute of <img> tag in HTML?
The ______ attribute of <img> tag specifies an alternate text for an image if the image cannot be displayed.
Abhilasha has just designed a web page. At the end of the web page, she wants to insert an image “next.jpg”. She needs to link another web page with this image, i.e., whenever anyone clicks on the image “next.jpg”, another web page named “second.html” should open. Help her in writing the code to achieve it.
Note: Assume that image and both the web pages are stored in the same folder.