Skip to main content
Stack Overflow
  1. About
  2. For Teams

Timeline for answer to How to open link in a new tab in HTML? by SharkofMirkwood

Current License: CC BY-SA 4.0

Post Revisions

21 events
when toggle format what by license comment
Feb 6, 2022 at 15:23 comment added Aenfa Just putting "#" in href= is not a good idea. This means the link can't be see at the bottom of the window before opening and also means it can't be copied from right-click menu so there's no way of seeing where the link is pointing to in advance (unless you view source code).
May 6, 2021 at 18:10 comment added Pascal Pixel Rigaux the security issue is going away, see caniuse.com/mdn-html_elements_a_implicit_noopener
Mar 11, 2021 at 1:11 history edited informatik01 CC BY-SA 4.0
Minor improvements for better readability.
S Sep 16, 2020 at 15:49 history suggested Community Bot CC BY-SA 4.0
broken link is now fixed
Sep 16, 2020 at 6:54 review Suggested edits
S Sep 16, 2020 at 15:49
Mar 22, 2020 at 4:28 comment added Aljohn Yamaro I only need to open a new tab without focusing on it. How can we do that?
S Jul 26, 2019 at 4:02 history suggested Community Bot CC BY-SA 4.0
Add information about the security considerations of this method.
Jul 25, 2019 at 18:59 review Suggested edits
S Jul 26, 2019 at 4:02
S Jul 24, 2019 at 15:31 history rollback SharkofMirkwood
Rollback to Revision 2 - Edit approval overridden by post owner or moderator
Jul 23, 2019 at 7:15 history suggested Manoj Verma CC BY-SA 4.0
SImply # is careating a confusion. SO made it clear that here will be the href link/url
Jul 23, 2019 at 7:00 review Suggested edits
S Jul 24, 2019 at 15:31
Oct 16, 2018 at 14:50 comment added PhoneixS Another page with the vulnerability mathiasbynens.github.io/rel-noopener which it is an example by itself.
May 5, 2016 at 10:40 comment added Aistis A tip: be aware of vulnerability due _blank. More info medium.com/@jitbit/…
Sep 21, 2015 at 9:42 comment added Stefan @SharkofMirkwood I apologize - you are actually correct. I got confused.
Sep 21, 2015 at 9:13 comment added SharkofMirkwood @Stefan No, _blank will be fine; the links will each open in a different tab. If you specify a name without the underscore, (e.g. blank) the links will open in the same tab.
Sep 21, 2015 at 9:03 comment added Stefan So, if you want two or more links on a page to each open in its own new separate tab, then you should not use _blank for those links, because then they will all open in the same new tab.
May 29, 2014 at 0:42 vote accept ZenthyxProgramming
Jul 17, 2013 at 22:19 history edited SharkofMirkwood CC BY-SA 3.0
added 337 characters in body
Jul 17, 2013 at 22:18 comment added GolezTrol Well, I guess it isn't invalid, it's just different. Instead of blank you could just as well use foo, I think, while _blank actually has a special meaning. I can't find any information to prove otherwise. Can you?
Jul 17, 2013 at 22:12 comment added GolezTrol The special targets all start with an underscore. blank would be the name of a frame or window. It may seem to work, because a new window or tab will probably be opened when none exists with the name 'blank', but a second click on the link should open the page in that same tab again instead of opening yet another one.
Jul 17, 2013 at 22:11 history answered SharkofMirkwood CC BY-SA 3.0
toggle format

AltStyle によって変換されたページ (->オリジナル) /