<tbody> tag displays in chrome but not source
问题 In doing some scraping work I keep encountering the <tbody> tag in the Chrome DevTools inspector, but it doesn't appear in the source. For what I hope are obvious reasons, I find this super confusing. What's going on here? (I should also add that the html on this page is pretty malformed). For example, DevTools shows: <table> <tbody> <tr valign="top"> <td>...</td> Page source shows: <table border="0"> <tr valign="top"> <td> 回答1: The start tag for <tbody> is optional. That is, you can leave it