PHP code is enclosed in ______ and ______ tags.

  • <?php, ?>
  • <html>, </html>
  • <php>, </php>
  • <script>, </script>
PHP code is typically enclosed in <?php and ?> tags. When the PHP interpreter encounters these tags, it knows to start and stop interpreting the code between them as PHP code. This allows you to embed PHP code in an HTML file. Learn more: https://www.php.net/manual/en/language.basic-syntax.phptags.php
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *