Tutorials, references, and examples are constantly reviewed to avoid errors, but we cannot warrant full correctness of all content. For ID selectors, a number sign must be placed before the ID name in the CSS. attribute. While using W3Schools, you agree to have read and accepted our. Attributes selectors allows you play around some extra with id and class attributes, Here is an awesome read on Attribute Selectors, Browser support: It's also possible to select attributes regardless of their content, in modern browsers, For example: http://codepen.io/jasonm23/pen/fADnu. Get certifiedby completinga course today! Here you can view the demo of this select dropdown and download it. Some examples are given How to make flexbox children 100% height of their parent using CSS? Each menu option is defined by an