tableタグ 使用時間に注意すること
tableタグ 使用時間に注意すること
<table> <caption>table title and/or explanatory text</caption> <!-- 重要なのは<thead><tbody>を描き忘れない 書き忘れると崩る--> <thead> <!-- railsで行を繰り返したい時 <tr>の親の<% if @user.id == current_user.id %><% end %>を記入する--> <tr> <th>header</th> </tr> </thead> <tbody> <tr> <td>data</td> </tr> </tbody> </table>