+ 4
target
why is this target attribute is used?? i can't understand
2 Antworten
+ 2
On a A tag it is used to determine where to open that link - same window(default)/new window("_blank"). There are a few more posible values, but they are a not that common.
0
The target attribute as earlier explained an be used to specify how a browser executes a command, say in HTML, it is used to open links in New window or Tab in a browser e.g using
<a href="sololearn.com/" target="_blank"> Solo Learn </a>
This command will execute the link in a new Tab or window within the browser. Other uses of the target attribute exists but basically this is what you get with Html.