how i can deal directly with html page contents like counts the attribute in each tag and sort these attribute
A:
I haven't actually used it myself, but whenever parsing HTML from .Net is discussed on here the Html Agility Pack seems to be a popular answer so I'd suggest looking at that.
The exception being if it's simple html pages in set predefined formats, where you might be able to just use some Regexs or similar string manipulating methods to extract the information you need.
ho1
2010-08-31 15:02:50