質問するログイン新規登録

回答編集履歴

1

risutonobaai

2021/01/01 11:00

投稿

hentaiman
hentaiman

スコア6428

answer CHANGED
@@ -1,1 +1,21 @@
1
- 表の表示には[tableタグ](https://developer.mozilla.org/ja/docs/Web/HTML/Element/table)を使いましょう
1
+ 表の表示には[tableタグ](https://developer.mozilla.org/ja/docs/Web/HTML/Element/table)を使いましょう
2
+
3
+ ```ここに言語を入力
4
+ <table>
5
+ <thead>
6
+ <tr>
7
+ <th>ヘッダー 1</th>
8
+ <th>ヘッダー 2</th>
9
+ </tr>
10
+ </thead>
11
+ <tbody>
12
+ {% for row in rows %}
13
+ <tr>
14
+ <td>row[0]</td>
15
+ <td>row[1]</td>
16
+ <td>row[2]</td>
17
+ </tr>
18
+ {% endfor %}
19
+ </tbody>
20
+ </table>
21
+ ```