HTML for Web Development
0% completed
Previous
Next
Course
Discussions
Quiz
Question 1
Which of the following is the correct basic syntax for creating a form element in HTML?
A
<form src="URL" type="POST"> ... </form>
B
<form action="URL" method="POST"> ... </form>
C
<form href="URL"> ... </form>
D
<form> ... </form>
Reset Quiz
Check Answer
Question2
Which attribute of the
tag specifies where the form data should be sent upon submission?
A
method
B
target
C
action
D
enctype
Reset Quiz
Check Answer
Question 3
Which HTML element is used to associate descriptive text with a form control to improve accessibility?
A
<legend>
B
<caption>
C
<placeholder>
D
<label>
Reset Quiz
Check Answer
Question 4
Which attribute is used to allow multiple files to be selected for upload in an <input> element?
A
multiple
B
files
C
multiselect
D
upload
Reset Quiz
Check Answer
Question 5
Which advanced form attribute prevents the browser from offering auto-complete suggestions for a particular input field?
A
autocomplete="off"
B
autofill="no"
C
complete="false"
D
fill="none"
Reset Quiz
Check Answer
.....
.....
.....
Like the course? Get enrolled and start learning!
Enroll
Previous
Next