Question!

Hello! I have a quick question! I'm just wondering if anyone knows how to create a file that can be opened as an HTML website. I have all the code, I just don't know how to open it as a website.