1.xml Style (recommended for standard style)
The code is as follows:
<?php echo "This is the markup of the XML style";?>
XML-style markup is a common tag and is the recommended tag, and the server cannot be disabled, and the style tag can be used in xml,xhtml.
2. Scripting style
The code is as follows:
<script languange= "PHP" > Echo ' This is the script style tag '; </script>
3. Short style
The code is as follows:
< This is a short-style mark; >
Note: You need to set short _open_tag=on in php.ini, default is on, or add the –enable-short-tags option when PHP is compiled. (PHP version 3 can also be activated with the Short_tags () function by using the short tag.) )
4.asp style
The code is as follows:
<% Echo ' This is an ASP-style tag '; %>
Note: Asp_tags = On is required to be turned on in the php.ini configuration file;
The above ASP style and short style need to be set in php.ini, default is not supported.
Note: Support for ASP style tagging is added in version 3.0.4.