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
Loading...
Related Quiz
- What is the concept of autoloading in PHP? How does it work and how can you implement it in your code?
- In a PHP switch statement, what does the case keyword represent?
- Which of the following can be done using either echo or print in PHP?
- You are writing a PHP script and you need to send an email. How would you do this using mail functions?
- What is the purpose of the array_reverse() function in PHP?