How to create link that open in a new tab

this is a simple basic html code that i just found out recently and decided to share with you guys.

normally, we simply wrote

<a href="yourlinkhere">link</a>

so, if we want the link to be open in a new tab, simply add

target="_blank"

so that the original code become like this.

<a href="yourlinkhere" target="_blank">link</a>

that's all. have fun. :)


powered by Blogger | WordPress by Newwpthemes | Converted by BloggerTheme