Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 Html Agility Pack 选择所有 html 标签并将其放入列表中,以便我可以查看网页中的所有可用标签。
谢谢,
吉普
HtmlDocument doc = new HtmlDocument(); doc.Load("file.htm"); foreach(HtmlNode node in doc.DocumentNode.SelectNodes("//*"){ ///..... do something with node }