HTML Form MCQ

HTML Form MCQ : This section focuses on the "Form" in Html. These Multiple Choice Questions (mcq) should be practiced to improve the Html skills required for various interviews (campus interview, walk-in interview, company interview), placement, entrance exam and other competitive examinations.

1. Choose the correct option.

A. HTML form elements are used for taking user input.
B. HTML form elements are defined inside <for> tag.
C. HTML form elements can be of different types.
D. All of these.

View Answer


2. Which one of the following is a form element?

A. text box.
B. radio button.
C. submit button.
D. All of these.

View Answer


3. Which one of the following is incorrect?

A. <label> tag in HTML is used for creating a tag for form elements.
B. <label> can be used to increase the clickable area of buttons
C. id attribute is used with <label> to increase the clickable area of form elements
D. None of the above

View Answer


4. Choose the incorrect option.

A. radio button allows to choose only one option from the given options.
B. default option can be chosen using attribute "selected" in radio button
C. default option can be chosen using attribute "checked" in radio button
D. checkbox allows to choose one or more than one options from the given options.

View Answer


5. Choose the incorrect option.

A. action attribute is used inside starting tag of form.
B. With the use of action, we can redirect to a page once submit button is clicked.
C. <form action:"home.php"> redirects to the page home.php
D. None of the above

View Answer


6. Choose the correct option.

A. Use of method attribute determines by which method the datas in the form will be submitted.
B. Method can be POST or GET.
C. Default method in HTML is GET.
D. All of the above

View Answer


7. Which one of the following does not hold true regarding GET method in HTML?

A. Use of GET method in HTML is more secured.
B. Use of GET method enables us to bookmark the page.
C. GET has size limitation.
D. None of the above

View Answer


8. Which one of the following does not hold true regarding POST method in HTML?

A. Use of POST method in HTML is more secured.
B. Use of POST method enables us to bookmark the page.
C. POST has no size limitation.
D. None of these.

View Answer


9. Which of the following tag is used for drop down list?

A. <select>
B. <text>
C. <textarea>
D. <dropdown>

View Answer


10. How more than one option can be selected in drop down?

A. Use of multiple attribute inside <option> tag.
B. Use of multiple attribute inside <select> tag.
C. use of multiple attribute inside <text> tag.
D. It is not possible to select more than one option in drop down.

View Answer





Also check :


Discussion



* You must be logged in to add comment.