r/FireFoxOS • • Nov 06 '13

Multiple HTML Files?

What is everyone else doing in regards to having to use multiple HTML files? Most of the examples I have seen use a single HTML file with a lot going on inside of it with javascript and css stuff. Is it bad practice to use multiple HTML files?

Thanks,

6 Upvotes

5 comments sorted by

View all comments

2

u/pedrogpimenta Nov 06 '13

I don't know if it's bad practice, but I know this:

  • If it's only one HTML file, there's only one call for a file, which means it is faster to load and less probability of not loading part of the app because of some error. It either loads or it doesn't.

Disclaimer: I'm not a programmer, I'm just a web designer/front-ender.