title: How to get the type of element / tag type in selenium c#
body: <p>Say for example I have a tag as :</p>
  
  <pre><code>&lt;a class = "fp-anchor fp-forgot-password pull-right" href = "/Account/ForgotPassword"&gt;Forgot Password?&lt;/a&gt; == $0
  </code></pre>
  
  <p>I am trying to get the type of element for this by which I mean should be an anchor <code>a</code> tag. Or more precisely, I need to identify if this is a hyperlink. 
  Something like,</p>
  
  <pre><code>Driver.FindElement(By.Id("someid")).&lt;whatever selenium webdriver function to identify what type of element it is&gt;
  </code></pre>
  
  <p>Similarly if it is an input tag, say </p>
  
  <pre><code>&lt;input type="text"..../&gt;
  </code></pre>
  
  <p>It should identify the tag as an <code>input</code> type.</p>
  
  <p>Any suggestions would be of great help.</p>