answersLogoWhite

0

You can open the link into a new window by using the attribute, target="..." here is a basic link example This is the HTMl for a Link The href attribute defines the link "address". By adding the target attribute it defines where the linked document will be opened. for example" This is the HTMl for a Link to open in a new window The value "_blank" is used for the Target to open in a new window.

User Avatar

Wiki User

15y ago

Still curious? Ask our experts.

Chat with our AI personalities

BlakeBlake
As your older brother, I've been where you are—maybe not exactly, but close enough.
Chat with Blake
ProfessorProfessor
I will give you the most educated answer.
Chat with Professor
JudyJudy
Simplicity is my specialty.
Chat with Judy
More answers

In design view, select the element you wish to create the link using (the text, or image, or what have you.)

Press CNTL+F3 on Windows, or COMMAND+F3 on Mac, to open the "Properties Window."

Inside the Properties Window, you can enter the address you want the link to point at. To the right of that, you'll find a drop-down combo-box. In that box, you can select either "_new" or "_blank" to create a link that the browser will open in a new tab or window.

In the Code view, you can add the target attribute to the anchor tag to have the same effect. Below find example code. The bold text is what I've added to make the "new window" part occur when my user clicks the link.

target="_blank"title="Page">Link Text

User Avatar

Wiki User

12y ago
User Avatar

Adding the target="_blank" attribute to your link tag will open the url in a new window/tab.

Example: Home

User Avatar

Wiki User

11y ago
User Avatar

Add your answer:

Earn +20 pts
Q: How can you open a link in a new browser window with HTML?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How do you run HTML notpad code?

To "run" HTML code, you simply need to open it using a web browser. This can be done by placing the file on the server and pointing the browser to it, or you can use the native "Open File..." command in the browser itself. If you want to learn HTML you can visit one of the websites in the related links.


What attribute will let you open a link in a new window?

You click the link with the left button on your mouse, and then put your mouse on the button that says open link in a new window and click it with the button on the left side of your mouse.For more detail it is simple and easy use right click on a link ,choose option , "Open the link in new tab" ,by doing so your previous page will be before you and a new page will be before you,do not choose the option , "Open link in new window " by choosing this,a new browser window will be appeared before you,which may cause your disturbance.


What code in HTML should you use to open a file?

To open an HTML page, all you have to do is double-click the HTML file and it will be opened by your default browser. Hope this helps :)


How do you get the HTML source on Windows Vista?

It depends on what browser you're using. If you're using IE, then you have to go to View->Source to open a new window with the source code. If you're using another major browser, Ctrl+U will show the source code.


How can one open the document window in Javascript?

To open a new window in javascript all you need to do is open your browser. Then you pick the document you want to open and right click on the screen. Then you choose to open in a new window or a new tab.