Suppose there is a page where there are pictures in the text.

For example, here: enter image description here

Accordingly, if I select all the <td> tags and call the Text () method on them, the link is lost.

Is there an easy way to get the text and that there are links in the right places or do I need to look through all the <td> descendants and independently form the resulting string?

  • you do not need <td>, but invested in it (and it happens that there is more than one) <img>. - Bulson
  • Maybe offtopic, but I'm just drastically on a different pars HTML . IMHO, it is much easier to express intentions through JavaScript, and not through the code of a third-party library. - Vadim Ovchinnikov
  • @Bulson is yes, but I also need the text that is above the links in the td block. It turns out you need to learn all the nested tags and manually create the output line? - iluxa1810

0