Php tag <?php ?> is not working


Php tag <?php ?> is not working.

<?php ?> has a dark-red color, and it cannot work inside html tag.
  1. Inside body tag
<?php ?>
  1. Example below

‘action="<?php echo 'hello' ?>"’

I m newbie in ATOM, please help me to figure it out.



What grammar is the file using? You can find the grammar on the right-hand side of the status bar.


Thank you for help.