Is it possible to run the client part of a PHP script using an HTML web page?
If not, is there a way to embed PHP in HTML so that it can work on the client side?
I think you want javascript. PHP is for the server side, and javacript is for the client side, among other things.
Not. PHP cannot be launched in the browser. Learn javascript or coffescript if you don't like JS syntax.