![](uploads/php-664d94de53f17.png)
Below is an example of PHP code displayed in HTML format:
``` In this example, we have a simple HTML document that displays a PHP code snippet inside a `
` tag with a `` tag to maintain the code formatting. The PHP code snippet defines a variable `$greeting` with the value "Hello, World!" and then outputs the variable using `echo`.
You can copy and paste this code into an HTML file and open it in a browser to see the output.