what is the difference between target value blank,self, parent,top,framename in tag target attribute? i know blank is open than link in new tab self is that link open in current tab But i can't understand parent and top
From the specification:
_blank
The user agent should load the designated document in a new, unnamed window.
_self
The user agent should load the document in the same frame as the element that refers to this target.
_parent
The user agent should load the document into the immediate FRAMESET parent of the current frame. This value is equivalent to _self if the current frame has no parent.
_top
The user agent should load the document into the full, original window (thus canceling all other frames). This value is equivalent to _self if the current frame has no parent.