How to open an link in a new tab or window?
In this video we will learn all you need to know about opening up html links into new windows or tabs with the help of : target _blank.
Video Transcript
00:00What I want to do with this link, this time around
00:02is I want to tell it to load up,
00:04First of all, let's have it loaded up in a new frame
00:07or a new tab, to make it load in a new tab all I really have to do
00:12is to go back to my editor and in my editor I'm going to add another property
00:18which is called 'target'
00:20and the target basically tells it where should it open,
00:22now the way we start targets usually is by putting an underscore and the saying where we wanted to go
00:28and a default is inside of self which is what comes by default, you don't even have to write it
00:33that's what it does usually,
00:35We could also set it to go into a blank page,
00:46Once we set it to go into a blank page it's going to open up in a seperate window
00:50or a seperate tab,
00:52so again, going into our browser, click on refresh to update the information,
00:56and we open up the link. The link will open up in a new tab and we still have our site opened at the same time
01:02So we're basically opening up in a two seperate tabs, does it make sense ?
01:06-yeah! -perfect!
