- Type: boolean
- New in Firefox 40.
- Indicates that a tab is selected. In multiprocess Firefox, the
selectedattribute is set synchronously, as soon as the user (or code) selects a tab. The
visuallyselectedattribute is set asynchronously, once the browser has switched to the selected tab. See tab selection in multiprocess Firefox for more details.
- If your code needs to apply some styling to the currently selected tab, this is the attribute you should use from Firefox 40 onwards.
- This value is read-only. To change the selection, set either the
selectedItemproperty of the containing element.