Could the files play if hitting a opening a HTML file on desktop?

Hi there,

Hopefully this is a simple question:
if I created an animated, interactive page, would the exported files need to be on a server, or would they work as normal if I were previewing locally?

Thanks,

Craig