How can I get this value using HtmlAgilityPack?
See the question and my original answer on StackOverflowYou could use XPATH. For example the following code:
HtmlDocument doc = new HtmlDocument();
doc.Load("test.htm");
// get any SPAN element recursively with a STYLE attribute set to 'cursor:pointer'
Console.WriteLine(doc.DocumentNode.SelectSingleNode("//span[@style='cursor:pointer']").InnerHtml);
will dump
JOANVENGE