how to write a php script in html file with example Example: inline php in html <body> Hello, today is <?php echo date('l, F jS, Y'); ?>. </body>