Php tag <?php ?> is not working


#1

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.

Thanks.


#2

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


#3

Thank you for help.