How can I specifically convert this php code to html? : <p>how can I specifically convert this php below code to html? I want to do this as I want to be able to run this code on my website. </p>

<p>From reading other forum posts I understand about people saying them link the PHP file externally using something like this  <code>&lt;ahref="hello.php"&gt;php&lt;/a&gt;</code>. However, from my understanding my PHP code is slightly different in terms of the output and I'm just not sure. </p>

<p>Below is my php code I want to run externally on my site from the html file. </p>

<pre><code>&lt;?php
echo $_SERVER['HTTP_USER_AGENT'];
$browser = get_browser();
print_r($browser);
?&gt;
</code></pre>
