Prevent tabstop on A element (anchor link) in HTML
问题 Is it possible to cancel an <a href=\"...\"> from being tabstopped in any browser? I would like to do this without Javascript. 回答1: Some browsers support the tabindex="-1" attribute, but not all of them, since this is not a standard behaviour. 回答2: Modern, HTML5 compliant, browsers support the [tabindex] attribute, where a value of -1 will prevent the element from being tabbed to. If the value is a negative integer The user agent must allow the element to be focused, but should not allow the