title: get all the divs ids on a html page using Html Agility Pack
body: <p>How do I get all the divs ids on a html page using Html Agility Pack. I am trying to get all the ids and put them into a collection.</p>
  
  <pre><code>&lt;p&gt;
      &lt;div class='myclass1'&gt;
          &lt;div id='f'&gt;
          &lt;/div&gt;  
          &lt;div id="myclass2"&gt;
              &lt;div id="my"&gt;&lt;div id="h"&gt;&lt;/div&gt;&lt;div id="b"&gt;&lt;/div&gt;&lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/p&gt;
  </code></pre>
  
  <p>Code: </p>
  
  <pre><code>HtmlAgilityPack.HtmlDocument htmlDoc = new HtmlAgilityPack.HtmlDocument(); 
  htmlDoc.OptionFixNestedTags=true;
  htmlDoc.Load(filePath);    
  HtmlNode bodyNode = htmlDoc.DocumentNode.SelectSingleNode("div"); 
  </code></pre>
  
  <p>How do I get collection of all divs ids?</p>