Add html element 'h1' in html element 'a' with php
<p>I have the following html string in php</p>

<pre><code>$html='&lt;div style="display:block; float:left; width:40px;"&gt;&amp;nbsp;&lt;/div&gt;&lt;a href="http://cosa.gr/index.php?cPath=15" class="headerNavigation"&gt;text&lt;/a&gt;';
</code></pre>

<p>and I need to add an 'h1' html element in the a element were the string text is in an programmatical way.
The bellow code shows the result I need.</p>

<pre><code>$html='&lt;div style="display:block; float:left; width:40px;"&gt;&amp;nbsp;&lt;/div&gt;&lt;a href="http://cosa.gr/index.php?cPath=15" class="headerNavigation"&gt;&lt;h1&gt;text&lt;/h1&gt;&lt;/a&gt;';
</code></pre>

<p>Is there a way to do this?</p>
