internal php in html won't work code example
Example: How to change htm h1 from nodejs
<html>
<head></head>
<body>
<h1></h1>
<script src='test.js'></script>
</body>
</html>
<html>
<head></head>
<body>
<h1></h1>
<script src='test.js'></script>
</body>
</html>