PHP tags are used to embed PHP code in HTML. The types are:
<?php ... ?>
(recommended and always available)<?= ... ?>
(for outputting, always enabled in PHP 5.4+)<? ... ?>
(not recommended, requires short_open_tag enabled)<% ... %>
(removed in PHP 7.0)Standard tags are recommended for maximum compatibility and clarity.