Skip to main content
Participating Frequently
March 12, 2019
Answered

Is it possible to load a local HTML file in a new browser window/tab?

  • March 12, 2019
  • 1 reply
  • 1862 views

I am still working on this HTML5 canvas portfolio.  I want to pop a new window or tab to show some HTML and CSS work examples.  I'm able to open HTTP links, but is there any way to load a LOCAL html file in a new browser or window?

    This topic has been closed for replies.
    Correct answer kglad

    use window.open, Window open() Method

    1 reply

    kglad
    Community Expert
    kgladCommunity ExpertCorrect answer
    Community Expert
    March 12, 2019

    use window.open, Window open() Method

    Participating Frequently
    February 3, 2024

    Is it possible to open a new html above the main one without opening a new tab?
    Would it be like opening a sequel without closing the first one?

    Participating Frequently
    February 3, 2024

    you could load another html file, but i'm not sure why you would do that if you haven't already created that html.


    and how do I do this? Would it work, after finishing the game, would you open the other one in the same tab? :]