Element Selector ("element")

Selects all the elements with the given tag name.

   public IEnumerable<HtmlNode> SelectHtmlNodesByTagName()
   { 
      var htmlDocument = new HtmlWeb().Load("http://www.example.com");
      return htmlDocument.Select("div");     
   }

Last edited Dec 25, 2011 at 7:31 AM by sweettam, version 1

Comments

No comments yet.