のような出力を得ることができる。ここで、右端の「|」より右に空白文字等が入っていてはならない。 テーマによっては表の罫線がないので、罫線が欲しければCSSを追加する必要がある*2。 .section table { border: 1px solid #000000 /* 色コード */; border-collapse: collapse; } .section table td,.section table th { border: 1px solid #000000 /* 色コード */; }
![table記法とは はてなの人気・最新記事を集めました - はてな](https://cdn-ak-scissors.b.st-hatena.com/image/square/c2399268c45f05176589994884651cf8a795231e/height=288;version=1;width=512/https%3A%2F%2Flive.blog-tags.st-hatena.com%2F%2F_next%2Fstatic%2Fimages%2FogImageDefault-0b14dbf84ffadcafc73ec8b1d951813c.png)