td中的Html table tr [英] Html table tr inside td

查看:173
本文介绍了td中的Html table tr的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图用HTML创建一个表格。我有以下设计来创建。我在< td> 内添加了< tr> ,但不知怎的,设计。

I am trying to create a table in HTML. I have the following design to create. I had added a <tr> inside the <td> but somehow the table is not created as per the design.

任何人都可以建议我如何实现这一目标?

Can anyone suggest me how I can achieve this?

我无法创建Name1 | Price1部分。

推荐答案

您必须在td内添加一个完整的表格

You must add a full table inside the td

    <table>
      <tr>
        <td>
          <table>
            <tr>
              <td>
                ...
              </td>
            </tr>
          </table>
        </td>
      </tr>
    </table>

这篇关于td中的Html table tr的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆