title: Reading data from HTML source file
body: <p>In this website : <a href="http://eu.battle.net/wow/en/character/Kazzak/Ierina/simple" rel="nofollow noreferrer">http://eu.battle.net/wow/en/character/Kazzak/Ierina/simple</a> I want to get the value that says "560" item level. </p>
  
  <p>I've done some research and I figured out how to get all source code with</p>
  
  <pre><code>string html = new WebClient().DownloadString(@"http://eu.battle.net/wow/en/character/Kazzak/Ierina/simple");
  </code></pre>
  
  <p>and i think the value which i should read is here in the source code : </p>
  
  <pre><code>(&lt;span class="equipped"&gt;560&lt;/span&gt; Equipped)
  </code></pre>
  
  <p>or here : </p>
  
  <pre><code>&lt;div id="summary-averageilvl-best" class="best tip" data-id="averageilvl"&gt;
          560
      &lt;/div&gt;
  </code></pre>
  
  <p>I have tried getting that value by using this way : <a href="https://stackoverflow.com/a/2958449/3935085">https://stackoverflow.com/a/2958449/3935085</a></p>
  
  <p>My code : </p>
  
  <pre><code>webBrowser1.DocumentText = new WebClient().DownloadString(@"http://eu.battle.net/wow/en/character/Kazzak/Ierina/simple");
              HtmlElement ilvl = webBrowser1.Document.GetElementById("equipped");
              label1.Text = ilvl.InnerText;
  </code></pre>
  
  <p>However, ilvl returns as null.</p>