Podcast
Questions and Answers
What happens when a select element has no size attribute?
What happens when a select element has no size attribute?
- It creates a scrolling menu
- It creates a numerical control
- It creates a text-entry field
- It creates a drop-down menu (correct)
What is the purpose of the value attribute in an option element?
What is the purpose of the value attribute in an option element?
- To specify the text displayed to the user
- To specify the input type
- To specify the label placement
- To specify the value sent to the server (correct)
What is the function of the multiple attribute in a select element?
What is the function of the multiple attribute in a select element?
- To collect numerical data
- To allow more than one option to be selected (correct)
- To create a text-entry field
- To specify the label placement
What type of widgets may browsers display for date and time controls?
What type of widgets may browsers display for date and time controls?
What should you consider when designing a form?
What should you consider when designing a form?
What is the purpose of the min and max attributes in a numerical control?
What is the purpose of the min and max attributes in a numerical control?
What type of inputs may be grouped together?
What type of inputs may be grouped together?
What is the recommended approach to label placement?
What is the recommended approach to label placement?
What should you avoid in form design?
What should you avoid in form design?
What is important to consider when choosing input types?
What is important to consider when choosing input types?