HTML for Web Development

0% completed

Previous
Next
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>
Question2
Which attribute of the
tag specifies where the form data should be sent upon submission?
A
method
B
target
C
action
D
enctype
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>
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
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"

.....

.....

.....

Like the course? Get enrolled and start learning!
Previous
Next