Can you provide an example of how to output HTML content within PHP code?

To output HTML content within PHP code, you can simply echo or print the HTML tags along with any desired content. This can be useful when you want to dynamically generate HTML content based on certain conditions or variables in your PHP code.

<?php
// Example of outputting HTML content within PHP code
$name = "John Doe";
$age = 30;

echo "<p>Name: $name</p>";
echo "<p>Age: $age</p>";
?>