What is the function of the 'method' attribute in an HTML form? MCQ with Answer and Explanation

What is the function of the 'method' attribute in an HTML form?
A. To specify the HTTP method (GET or POST) for form submission
B. To enable validation
C. To set the encoding type
D. To define the action URL
Answer: Option A
Solution (By JKSSB Mock Tests)
The method attribute defines the HTTP method to be used when submitting the form, either GET or POST.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Internet and Web Technologies Questions

Question #1
Which component of an email system acts as an electronic address directory mapping domains to their specific incoming mail handling servers?
A. HTTP Response Headers
B. HTML Base Templates
C. FTP Configuration List
D. DNS MX (Mail Exchanger) Records

Correct Answer: Option D


Explanation:
MX (Mail Exchanger) records are configurations inside the Domain Name System (DNS) specifying which mail servers are designated to accept incoming emails for a domain.

This question belongs to: Computer Internet and Web Technologies
Question #2
What type of program code logic runs directly on a remote internet server host machine to calculate custom dashboard outputs before compiling them into standard HTML to return to a browser?
A. Browser Extension Core
B. CSS Layout Matrix
C. Client-side Scripting
D. Server-side Scripting

Correct Answer: Option D


Explanation:
Server-side scripting (using languages like PHP, Python, or Node.js) executes on the hosting server to build dynamic web content before transmitting flat HTML back to the client.

This question belongs to: Computer Internet and Web Technologies
Question #3
Which specific browser design framework operates to split an individual browser tab workspace into sandboxed process channels to prevent a single site script crash from bringing down the entire application window?
A. Monolithic single thread design layout
B. Unlinked proxy server bypass channels
C. Local host structural routing systems
D. Multi-Process Browser Architecture

Correct Answer: Option D


Explanation:
Modern browsers (like Chrome and Edge) use a multi-process architecture that isolates separate tabs and extensions into their own memory sandboxes, improving stability and security.

This question belongs to: Computer Internet and Web Technologies