How to use html() of jquery over specific child element
<p>I am trying to use <code>html()</code> function of jquery over the specific child like:</p>

<pre><code>&lt;div id="main"&gt;
  &lt;p&gt;I am p tag&lt;/p&gt;
  &lt;span&gt; i am span tag&lt;/span&gt;
&lt;/div&gt;
</code></pre>

<p>Now if we use <code>$("#main").html()</code> it gives both <code>p</code> and <code>span</code> but if i want only <code>p</code>, what should i do?</p>
