Start build-in web server with PHP
Viewing HTML file from a directory in your browser by starting a PHP server
cd /my/public/directory
php -S localhost:8000
Viewing HTML file from a directory in your browser by starting a PHP server
cd /my/public/directory
php -S localhost:8000