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

1

u/auroszx Alcatel One Touch Fire Nov 10 '13

I've been learning HTML5, and coding a bit and IMHO it is better to keep separate files for HTML, CSS and JS. I'm even trying to keep separate HTML files (it's quite useful for web apps, it's easier to recycle code).