Css-3 'target-new' And Html5 Target='_blank' For Opening In New Tab
Solution 1:
How it functions internally?
No browser has implemented this yet.
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?
target=_blank
is 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=_blank
or target-new: tab|window
.
Solution 2:
There is a legitimate reason for using Target=_blank that everybody has completely overlooked, and that is when a website is written as a BOOK with chapters/pages and the Table of Contents must remain intact without using the BACK button to reload the previous page (Table of Contents). This way all a surfer needs to do is close the Target Page when finished reading and they will be back to the Table of Contents. Lucky for us that HTML5 has reinstated the Target="_blank" code, but unfortunately the "Block Popups" must be unchecked for it to work.
Post a Comment for "Css-3 'target-new' And Html5 Target='_blank' For Opening In New Tab"