Loading

Quipoin Menu

Learn • Practice • Grow

Direction: Choose the correct option

Q1.

What does the required attribute do?
A. Adds a red border
B. Required for styling
C. Makes an input field mandatory
D. Prevents submission
Direction: Choose the correct option

Q2.

<input type="text" name="username" maxlength="10">
What does maxlength="10" do?
A. Limits input to 10 characters
B. Repeats value 10 times
C. Adds 10 to value
D. Makes field 10px wide
Direction: Choose the correct option

Q3.

What does the disabled attribute do to a form element?
A. Hides the field
B. Removes the field
C. Styles the field gray
D. Disables the field so it cannot be used
Direction: Choose the correct option

Q4.

What is the difference between disabled and readonly?
A. readonly fields are submitted, disabled fields are not
B. disabled can be changed
C. readonly is visual only
D. Both are the same
Direction: Choose the correct option

Q5.

What does the autofocus attribute do?
A. Automatically focuses on the field when page loads
B. Focuses on submission
C. Creates auto-complete
D. Automatically fills the field