gpt4 book ai didi

xhtml - 为 html 表放置脚注的首选方法是什么?

转载 作者:行者123 更新时间:2023-12-04 18:53:31 24 4
gpt4 key购买 nike

像这样;这是 MS word 文件的屏幕截图。

alt text

  • 我应该输入 tfoot或在 td作为 <p>dwdwdewwe</p>或者我应该
    放在后面 </table><p></p> ?
  • 我们可以把tfoot任何地方
    <table>
  • 我应该给脚注链接*
    跳转到底部的脚注。
  • 最佳答案

    使用 tfoot标签。它必须出现在 tbody 之前标签。另见:http://www.w3.org/TR/html401/struct/tables.html#h-11.2.3

    <table>
    <thead><tr><td colspan="5">This is the header and should span all columns.</td></tr></thead>
    <tfoot><tr><td colspan="5">This is the footer and should span all columns.</td></tr></tfoot>
    <tbody>
    <tr><td>11</td><td>12</td><td>13</td><td>14</td><td>15</td>
    <tr><td>21</td><td>22</td><td>23</td><td>24</td><td>25</td>
    <tr><td>31</td><td>32</td><td>33</td><td>34</td><td>35</td>
    </tbody>
    </table>

    关于xhtml - 为 html 表放置脚注的首选方法是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2490104/

    24 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com