[ARCHIVED] Making a hyperlink open in a new tab/window
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are many times I would like to create a hyperlink that will take students to an external website. I would like to be able to have the new webpage open in a new window or tab. Is there a way to do that in the Rich Content Editor?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am going to link to the original for credit, but yes, this can be done:
From stefaniesanders,
to "force" a hyperlink to open in a new window or tab, the HTML of the page needs to be edited to insert a "new page" attribute. When editing the content page, click on the HTML Editor link at the upper right to switch to the HTML view for the page, then insert the target="_blank"attribute immediately after the quotation marks that end the URL. The code for a link to a picture of Toompea Castle on Wikimedia Commons looks like this:
<p><a href="https://upload.wikimedia.org/wikipedia/commons/7/79/Toompea_loss_2014.jpg" target="_blank">Toompea Castle, Talinn, Estonia</a></p>
Robbie
This discussion post is outdated and has been archived. Please use the Community question forums and official documentation for the most current and accurate information.