embedded php in html code example Example: inline php in html <body> Hello, today is <?php echo date('l, F jS, Y'); ?>. </body>