Skip to main content
All CollectionsOnline IDEUsing the CodeHS IDE
Using External Links in HTML Programs
Using External Links in HTML Programs

External links will work in a new page, not the IDE

Mike Javor avatar
Written by Mike Javor
Updated over 6 months ago

The CodeHS editor allows students to run and preview their HTML programs in an iframe. This can help students see live updates they make to their page and navigate between any other .html file that they've created for the program.

However, the iframe may not allow students to access external websites. This is a security feature where many sites dis-allow being opened in an iframe.

In order to preview the HTML program and navigate to the external links, the program will need to be opened in a new window or tab. To open in a new tab:

  • Click the Pop Out Icon next to the address bar in the output window


Still have questions? Contact our team at hello@codehs.com to learn more!

Did this answer your question?