title: deselect text from particular tag
body: <p>Is there a way to deselect text from particular tag.For example.</p>
  
  <pre><code>&lt;p id ="first"&gt;first text&lt;/p&gt;
  &lt;p id ="second"&gt;Second text&lt;/p&gt;
  </code></pre>
  
  <p>If the select text from both the tags but i want to deselect the tag with the first id.I know you can deselect all the selected text using </p>
  
  <pre><code>window.getSelection().removeAllRanges();
  </code></pre>
  
  <p>but is there a way to deselect text with a particular id?</p>