Open HTML files on Dropbox application

If you try to accessing the files using the regular sharing feature the HTML file will fail to find it's linked CSS, JavaScript, etc files because of the way that Dropbox generates these sharing links.

However you should have a "Public" folder in your Dropbox. If you drop your files in there and select one you should see a "Copy public link..." option above the file list. If you use that, instead of the "Share" button then your HTML file should find it's linked files.

Illustration of Public folder in Dropbox


Try copying the share link of HTML file, paste it into safari, and then change the "www" to "dl". It will try to download the page but since it is an html file it will display the file in your browser instead. Copy the link and you have a functional web page.

Not sure yet if relative file paths work or not, so it not then do the same thing with the CSS and JS files and change the source to the absolute file paths.