简体   繁体   English

tr的td重复表内

[英]Table inside td repeat of tr

I am trying to create a table as per expected output but it's not working.我正在尝试按照expected output创建一个表,但它不起作用。 You can click on expected output and you can check the desired output您可以点击预期的 output 并可以查看所需的 output

Expected output预期 output

this is the arrangement of table and it's not working这是桌子的排列,它不起作用

 <table> <tr> <td> Example </td> <td> <tr> <td> Example0 </td> </tr> <tr> <td> Example1 </td> </tr> </td> </tr> </table>

This works fine这工作正常

<table>
<tr>
    <td>
        Example
    </td>
    <td>
        Example0
    </td>
</tr>
<tr>
    <td>

    </td>
     <td>
          Example1
     </td>
</tr>
</table>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM