Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.
- Coding Links in HTML
- Using Link Attributes for Accessibility
- Controlling Link Behavior with Attributes
- Styling Links with CSS
- Improving Accessibility and Usability
- Examples of Complex Link Implementations
- How to Open Links in a New Browser Window or Tab
- Creating and Linking to Placeholders
- How to Link to a Media File
- How to Create an Email Link
- How to Create a Phone Link
- Example: Contact Section with Email and Phone Links
- Links, Hyperlinks, and Blank Targeting Quiz 5 questions
Well done!
You have completed (UPI) Chapter 6: Navigating with HTML Links and Structuring Data with Tables!
Instruction
How to Open Links in a New Browser Window or Tab
In most cases, clicking a link loads the target page in the current browser window. However, if you want to open a link in a new tab or window (especially for external links), you can use the target="_blank"
attribute in your <a>
tag.
HTML Example
<h1>Want to read other books like this one?</h1>
<p>Just go to <a href="http://www.murach.com" target="_blank">Murach Books</a>...