🏡MMXXII Visitor Welcome Visitor Sign In
Page still loading ...

Single File Web Pages

Sometimes when developing a new function, or any kind of black box code, It can be useful to box it up into a single HTML file This is not always possible when there are too many dependancies, but if the black box is fairly independent with just a little of it's own code, this method can be useful.

Some advantages of a single file

  1. If the file is being accessed over the web by other people taking a look into it and perhaps testing some functionality, the javascript and css will automatically be updated with a new release of the HTML file, whereas separate .css and .js files with be cached in the browser and require special action such as Ctrl+F5 to refresh the page and reload the updated scripts.
  2. You can view the source code and link to see how these pages look on your device.
  3. The file can encapsulate the bear minimum of required code so that when you view the source code, you are not left digging around looking for a needle in a haystack.
  4. This site can provide a simple and secure update form for you to upload you "project" as a simple HTML file.
You can:
  1. Be viewed in the browser (Just click the link)
  2. View the source code. (Not the entire source code as in the browser option)
  3. Viewed in an iframe, if it's a stone alone HTML page, but not if it's just a small page division.

3 Files

1

hover-to-change-image-src

Modified : January 13, 2022, 2:45 pm 1 week ago..
php stand alone page

2

leonwool

Modified : January 13, 2022, 2:45 pm 1 week ago..
html stand alone page

3

pretty-paragraph

Modified : January 15, 2022, 12:15 pm 1 week ago..
html view file

Comments
Details on summary click. view "comment-thread-details" for this thread spa

💬 Messenger

Sign in to follow page
Ad Space
Back to the Top ⚓ Show Vocabulary Related Content