How to extract the tags associated with Cursor location
<p>How to extracts the Tags associated with the cursor location. 
In the below HTML example, when my cursor is at "associated", i want to get the information about which all tags are added to the text "associated".</p>

<pre><code>&lt;html&gt;
&lt;body&gt;
How &lt;b&gt;to &lt;font color="#FF000"&gt;extract&lt;i&gt; the tags associated with &lt;/i&gt;Cursor &lt;/b&gt;location&lt;/font&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>Here i want to get "b , font, i"</p>

<p>Is it possible to get this information.</p>
