target="_new" and target="_blank" can only be used in anchor tag while creating a HTML link.
If you use target="_new", all links (associated with it) will open in one window/tab.
eg:
NClick1 with target=_new
NClick2 with target=_new
On the other hand, if you use target="_blank", all links (associated with it) will open in different windows/tabs.
eg:
BClick1 with target=_blank
BClick2 with target=_blank
If you want to see how it works and what it looks like, try clicking the links below and see their differences.
ANCHOR TAG WITH TARGET "_NEW"
code:
<a href="http://manlalakbay88.blogspot.com/" target="_new">My Personal Blogsite</a>
<a href="http://www.youtube.com/" target="_new">Youtube Site</a>
<a href="http://www.youtube.com/" target="_new">Youtube Site</a>
ANCHOR TAG WITH TARGET "_BLANK"
code:
<a href="http://manlalakbay88.blogspot.com/" target="_blank">My Personal Blogsite</a>
<a href="http://www.youtube.com/" target="_blank">Youtube Site</a>
<a href="http://www.youtube.com/" target="_blank">Youtube Site</a>
No comments:
Post a Comment
Hello!
Thanks so much for taking the time to read my blog post! I’d love to hear your thoughts, feedback, or any suggestions you might have—feel free to share them in the comments. Looking forward to hearing from you!