how to get characters inside html tags

May 3, 2011 at 8:53 AM

hi all..sorry if my english so bad..

i have a problem with my thesis..i want to know how to get all html tags and attributes using c#..in this case i want get all tags and attributes not values of attributes..
 
ex: in html page there is has a tags and attribute like <html></html> <body></body> <table widht="xxx height=""></table>

i want get (html,body,table,widht,height)
 
thx before