+ 6

What are the differences of target="_parent" and target="_self"???

differences of target="_parent" and target="_self"???

21st Jun 2018, 6:02 AM
⚔️🇱🇰🅐🅨🅔🅢🅗 🅛🅐🅚🅢🅗🅐🅝🇱🇰⚔️
⚔️🇱🇰🅐🅨🅔🅢🅗 🅛🅐🅚🅢🅗🅐🅝🇱🇰⚔️ - avatar
2 ответов
+ 7
_self opens in that current frame _parent opens in the parent frame
21st Jun 2018, 6:14 AM
Femi
Femi - avatar
+ 6
*unoriginal comment* target="_self" This opens an anchor in the same frame. What is confusing is that because we generally don't write in frames anymore (and the frame and frameset tags are obsolete in HTML5) people assume this a same window function. Instead if this anchor was nested in frames it would open in a sandbox mode of sorts, meaning only in that frame. target="_parent" Will open the in the next level up of a frame if they were nested to inside one another https://stackoverflow.com/questions/18470097/difference-between-self-top-and-parent-in-the-anchor-tag-target-attribute
21st Jun 2018, 6:13 AM
᠌᠌Code X
᠌᠌Code X - avatar