Where should the app keep its files?
Self-contained projects work offline in either mode. Online resources still need a connection, and server-side code such as Node.js or PHP needs a separate backend.
Embedded content
Keep a working version inside the app
Your HTML, CSS, JavaScript, and assets are copied into Contents/Resources as ordinary, viewable files. The exported app no longer needs the original folder. Export again to include later edits.
Original folder
Open the latest version from your editor
Future launches read your current files without another export. This is not an automatic live-reload server. The folder must remain available. If you move it, the app can ask you to locate it again.
Both modes stay sandboxed and include read-only Downloads permission by default. A linked app also has read-only access to the source you select. Compare the export options.