Open a console. Terminal.app on Macs, your shell or whatever on PCs.
Python is easiest:
python -m SimpleHTTPServer 8000
Then go to http://localhost:8000/ in a web browser.
A nodejs junkie?
npm install -g serve
serve
Then go to http://localhost:3000/ in a web browser.