PHP extension is required if you need to process data sent from form whose method is post or get using $_POST, $_GET, or $_REQUEST.
IF its action is a link to another php page, then the form page can remain html, if it is sent to itself then the form page should be php.