title: HTMLElement's GetAttribute("html") or GetAttribute("text") not returning a value
body: <p>Using this example how can i get the "GOOGLE CLICK" on this line using C# HTMLElement's Get Attribute. assuming that this element was absorbed using getElementByTagName. I am not sure what kind of attribute to use I've tried "<strong>html</strong>" &amp; "<strong>text</strong>" (ex. <strong>element.GetAttribute("html")</strong>) attribute which is working on java, but sadly not on c#.</p>
  
  <pre><code>&lt;a href="www.google.com"&gt;GOOGLE CLICK&lt;/a&gt;
  </code></pre>
  
  <p>for reference here is my c# example code that i am trying to run.</p>
  
  <pre><code>//web is the current page i am at.
          HtmlElementCollection links = web.Document.GetElementsByTagName("a");
          foreach (HtmlElement link in links)
          {
              if (link.GetAttribute("text") == "GoogleClick")
                  MessageBox.Show(this, "Hooray I got it!");
          }
  </code></pre>