# 表格
请点击[表格](https://codechina.csdn.net/courses/register/2/9){target="_blank"} 并完成所有题目,完成学习请关闭Issue。
通过对[表格](https://codechina.csdn.net/courses/register/2/9){target="_blank"}的学习,以下哪个表格语法不对?
## 答案
```bash
| header 1 |
header 2 | header 3 |
|:-------- | :------: | --------:|
| left-aligned 文本居左 | centered 文本居中 | right-aligned 文本居右 |
| `:---` 左侧冒号表示**内容和标题栏**居左对齐 | `:--:` 两端都有冒号表示**内容和标题栏**居中对齐 | `---:` 右侧冒号表示**内容和标题栏**居右对齐 |
```
## 选项
### A
```bash
| header 1 | header 2 | header 3 |
|:-------- | :------: | --------:|
| left-aligned 文本居左 | centered 文本居中 | right-aligned 文本居右 |
| `:---` 左侧冒号表示**内容和标题栏**居左对齐 | `:--:` 两端都有冒号表示**内容和标题栏**居中对齐 | `---:` 右侧冒号表示**内容和标题栏**居右对齐 |
```
### B
````bash
| header 1 | header 2 | header 3 |
| --- | ------ |---------:|
| cell 1 | cell 2 | cell 3 |
| cell 4 | cell 5 is longer | cell 6 is much longer than the others, but that's ok. It will eventually wrap the text when the cell is too large for the display size. |
| cell 7 | | cell
9 |
````
### C
````bash
| header 1 | header 2 | header 3 |
| :--- | :------: |---------:|
| cell 1 | cell 2 | cell 3 |
| cell 4 | cell 5 is longer | cell 6 is much longer than the others, but that's ok. It will eventually wrap the text when the cell is too large for the display size. |
| cell 7 | | cell
9 |
````