protected void RemoveUnwantedElements(HtmlNode root) { root.SelectNodes("//head|//style|//img|//comment()").ForEach(x => x.Remove()); }