0
0
Bootsrapmarkup~5 mins

Select menus in Bootsrap - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
Recall & Review
beginner
What is a <select> element used for in web forms?
It creates a dropdown menu that lets users pick one or more options from a list.
Click to reveal answer
beginner
How do you make a Bootstrap select menu look styled and consistent?
Add the class form-select to the <select> element.
Click to reveal answer
beginner
How can you allow users to select multiple options in a select menu?
Add the multiple attribute to the <select> element.
Click to reveal answer
intermediate
What Bootstrap class helps to make select menus responsive and full width?
Use the class w-100 or place the select inside a container with responsive layout.
Click to reveal answer
beginner
How do you add a label to a select menu for accessibility?
Use a <label> element with a for attribute matching the select's id.
Click to reveal answer
Which class should you add to a <select> element to style it with Bootstrap?
Adropdown-menu
Bselect-style
Cbtn-select
Dform-select
How do you allow multiple selections in a select menu?
AAdd <code>multi-select</code> class
BAdd <code>multiple</code> attribute
CUse <code>&lt;input type='checkbox'&gt;</code>
DAdd <code>select-multiple</code> id
What HTML element should you use to label a select menu for screen readers?
A<code>&lt;label&gt;</code>
B<code>&lt;legend&gt;</code>
C<code>&lt;caption&gt;</code>
D<code>&lt;title&gt;</code>
Which Bootstrap utility class helps make a select menu take full width?
Aw-100
Bfull-width
Cwidth-max
Dcontainer-fluid
What attribute do you add to a <select> to disable it?
Ablock
Breadonly
Cdisabled
Dinactive
Explain how to create a Bootstrap styled select menu that allows multiple selections and is accessible.
Think about HTML attributes, Bootstrap classes, and accessibility labels.
You got /4 concepts.
    Describe how you would make a select menu disabled and explain why you might do this.
    Focus on the attribute and practical reasons for disabling.
    You got /3 concepts.