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
  • 1848 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?

    kglad
    Community Expert
    Community Expert
    February 3, 2024

    I did this with window open and window close but there are browsers that don't work so I want to open them in sequence in the same tab


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