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
  • 1835 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
    kgladCorrect 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
    February 3, 2024

    do you want to open a new browser window (which is pretty much opening a new tab)?

     

    otherwise, i can't think of any way to concurrently open two html files other than using iframes (addendum: or load it.)