I'm writing a program that navigates to a website using a webbrower and gets some information from the page it goes to and prints this information to a text file.
To search through the webpage I'm using an HTMLDocument, but I cannot get both the html tags and the text on the page and I need to html tags to find the text I'm looking for. Is there a way to get both of the html tags and the text of the page in one text document or string....?
To search through the webpage I'm using an HTMLDocument, but I cannot get both the html tags and the text on the page and I need to html tags to find the text I'm looking for. Is there a way to get both of the html tags and the text of the page in one text document or string....?