1. 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.
This is a required question
2. 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.
3. 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
4. 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
5. 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.
6. 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.
7. Which of the following tag is used for drop down list?
A. <select>
B. <text>
C. <textarea>
D. <dropdown>
8. 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.
Answers
Answer:
Which one of the following is incorrect? ... c) <label> can be used to increase the clickable area of buttons ... for creating a tag for form elements.b) id attribute is used with
Answer:
1. a) <label> tag in HTML is used for creating a tag for form elements.
2. b) default option can be chosen using the attribute "selected" in the radio button.
3. c) <form action:"home.php"> redirects to the page home.php
4. d) All of the above.
5. a) use of GET method enables us to bookmark the page.
6. b) use of post method enables us to bookmark the page.
7. a) <select>
8. b) use of multiple attributes inside <select> tag.
Explanation:
1. attribute for is used with <label> for increasing the clickable area of form elements.
2. "selected" is used to set an option as default in the radio button.
3. Correct way of using action attribute is <form action="home.php">
4. All three options are true with reference to the GET method in HTML.
5. The use of the GET method is not secured as data sent will be visible in the URL.
6. The use of the POST method for form submission does not allow bookmarking the page.
7. <select> is used for dropdown list.
8. By the use of multiple attributes inside the opening tag of <select>, more than one option can be selected in a dropdown.