Three types of PHP Syntax are available. They are as follows:
1. Default Syntax
2. Short open Tags
3. HTML Script embed Tags
1. Default Syntax: The default Syntax begins with “>”.

2. Short open Tags: The Short open Tags begins with "<?" and closes with "?>" .But admin user has to enable Short style tags settings in php.ini file on the server.

3. HTML Script embed Tags: HTML Script embed Tags looks just like HTML scripts tags. The syntax is shown in Figure.

The above syntax is created and saved in a file with extension of .php. This .php file is ready to execute from Webserver and generate response to client machine.