Skip to main content
chenjil43641795
Legend
February 19, 2021
Question

hi.I need to make an HTML5 that is not networked for local use

  • February 19, 2021
  • 1 reply
  • 263 views

I need to make an HTML5 that is not networked for local use.

I may need to copy to my Android phone.

But resources can't load, JS, pictures, etc.

(js,jpg,The resources are in the same directory of HTML)

tell me what I should do?

I hope html can run like an app.

No code required, just tell me what to do about it, thank you.

 

 

    This topic has been closed for replies.

    1 reply

    kglad
    Community Expert
    Community Expert
    February 19, 2021

    html can't run like an app because it's not an app.  html has to run in an interpreter (ie, web browser).

     

    now, what are you trying to actually do?

    chenjil43641795
    Legend
    February 21, 2021

    I did a project that I wanted to use directly, not online.

    However, the resource is loaded as "file:///"

    The resource could not be loaded into the page..

    I will not upload to the server for use.

    Want to run locally,It also does not use a local virtual server.

    I hope copying to another computer or phone can also run.

    I don't know how I can load the "file:///" forms of JS and other resources.