I was looking into a solution for opening a page in new tab and then i landed on the CSS-3 property target-new
It states that: “If a user wanted to have new windows open in new tabs instead, she could use the following user style sheet to do so:
*{ target-new: tab ! important }”
I have couple of questions on it:
- How it functions internally?
- Why we don’t have a property like target=”_tab” in html5 specification but had this property as opening a link in new tab doesn’t have any direct relation with Presentation?
No browser has implemented this yet.
target=_blankis still allowed because of backwards compatibility. Introducing new reserved target values, like_tab, wouldn’t work the same across browsers.IMHO, the decision should be left to the user, and web authors shouldn’t force
target=_blankortarget-new: tab|window.