title: Getting links from table via HtmlAgilityPack
body: <p>I have simple html table:</p>
  
  <pre><code>&lt;table&gt;
    &lt;tr&gt;
      &lt;td&gt;
        &lt;a href="http://someurl_1.com"&gt;item name1&lt;/a&gt;
      &lt;/td&gt;
      &lt;td&gt;
        Value 1
      &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
      &lt;td&gt;
        &lt;a href="http://someurl_2.com"&gt;item name2&lt;/a&gt;
      &lt;/td&gt;
      &lt;td&gt;
        Value 2
      &lt;/td&gt;
    &lt;/tr&gt;
  &lt;/table&gt;
  </code></pre>
  
  <p>Now I need to have data from that table as List>(or string[][])</p>
  
  <p>to get it I use:</p>
  
  <pre><code>        List&lt;List&lt;string&gt;&gt;
              table = doc.DocumentNode.SelectSingleNode("//table")
                      .Descendants("tr")
                      .Skip(1)
                      .Where(tr =&gt; tr.Elements("td").Count() &gt; 1)
                      .Select(tr =&gt; tr.Elements("td").Select(td =&gt; td.InnerText.Trim()).ToList())
                      .ToList();
  </code></pre>
  
  <p>it, succesfully gets me only string data, so in result I have</p>
  
  <pre><code>table[0][0] -&gt; item name1
  table[0][1] -&gt; value 1
  table[1][0] -&gt; item name2
  table[1][1] -&gt; value 2
  </code></pre>
  
  <p>but I don't have url's in that array.</p>
  
  <p>How can I get it to the table value, so in result I need to have like:</p>
  
  <pre><code>table[0][0] -&gt; http://someurl_1.com
  table[0][1] -&gt; item name1
  table[0][2] -&gt; value 1
  table[1][0]-&gt; http://someurl_2.com
  table[1][1] -&gt; item name2
  table[1][2] -&gt; value 2
  </code></pre>
  
  <p>Any help appreciate! Thanks</p>