One of its features is the ability to select nodes based on different criteria, such as the tag name, the attributes, or the content. Example 1: In this example, we use SelectNodes to find all the anchor tags (a) in an HTML document and print out their href attribute values. using HtmlAgilityPack; string html = "Link"; HtmlDocument doc = new ...