Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

><td> for example obviously ends when you come across another <td>, another <tr>, or the required </table> //

Only a madman would nest tables!!

/me crying in 2000's web design.



Nope, nesting works! The required ending tag on table means any nested table will open a new context and then any <tr> or <td> will now scope to that table and will until the second tables closing </table>.

  <table>
  <tr>
  <td>
    <table>
    <tr>
    <td> table-cell-inside-table
    </table>
  </table>




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: