You are on page 1of 1

Asp.

net MVC
HtmlWeb

 class will create a object so that we can call Load() method to tell which web page we are going to
scrap and this load() method will actually return us the html document (the html code actually) of that
specific website.
Nodes: 

Nodes are actually those html tags which we want to parse/scrap and that can be any html or
custom tag like in my case I am using h2 tags to get all headings inside <h2></h2>.
InnerHTML: 

Inner html will return me the HTML code inside those <h2> tags but if i need text only I can use
decode method which is HttpUtility.HTMLDecode(string);

You might also like