Why does target="_blank" have an underscore in front? (2024)
1–10 of 203 posts
Re: Why does target="_blank" have an underscore in front? (2024)
#2Because its an remnant from the browser wars.
Re: Why does target="_blank" have an underscore in front? (2024)
#3Because “blank” can be a real frame name if you want to make your codebase a little harder on purpose.
You still see _blank for links opening in new windows, but _parent, _self, etc not so much anymore.
Re: Why does target="_blank" have an underscore in front? (2024)
#4Because back in the mid 90's, there was Netscape...
Re: Why does target="_blank" have an underscore in front? (2024)
#5Re: Why does target="_blank" have an underscore in front? (2024)
#6Because “blank” can be a real frame name if you want to make your codebase a little harder on purpose. You still see _blank for links opening in new windows, but _parent, _self, etc not so much anymore.
The title of the post isn't asking HN users a question
Re: Why does target="_blank" have an underscore in front? (2024)
#7FWIW, I never heard of the frameset tag, while I did use frames back then.
Re: Why does target="_blank" have an underscore in front? (2024)
#8My first "web app" used frames, it was good times. Some time later I used backbone.js, and while it was still good times, it did get a lot more complicated (e.g. having to manually disconnect and reconnect 'child' elements when the main element re-rendered so that they would retain their event handlers).
Re: Why does target="_blank" have an underscore in front? (2024)
#9Shower thought: ` ` should transfer a link in a desktop into my phone. Same goes for `target="_desktop"` but in the opposite direction.
[flagged]
Re: Why does target="_blank" have an underscore in front? (2024)
#10FWIW, I never heard of the frameset tag, while I did use frames back then.
Same... We used .