开发者

tbody tag element and DOM

i want to use HtmlAgilityPack with WebBrowser control开发者_如何学Python, but i have a problem. DOM is different because IE adds tbody tag element after table. Why? How i can disable it?


In HTML, the tbody element is required. The start and end tags are, however, optional (as are those of the html, body and head elements, and the end tag for p, td, li and numerous others).

You just need to write your code to be able to handle both cases (or include the tbody tags explicitly)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜