Show/hide section based on option value without using jQuery. An option is considered selected if it has an HTMLOptionElement.selected attribute. Sets or retrieves the state of an option element. source code. Keyboard users can select multiple non-contiguous items by: Focusing on the