Help us understand the problem. What is going on with this article?

tableにrulesを追加して内側の線の表示を変える

More than 3 years have passed since last update.

table rules=""

table要素にrules=""を追加し、内側の線の表示を変えることができる。

実例

<table rules="none"> --- </table>

rules属性と値

属性 説明
rules="" noen 表示なし
rows 横のみ表示
cols 縦のみ表示
groups グループ間のみ
all 全て表示

何も指定しない場合rules="none"と同じ表示なしになる

border属性との関係

tableタグにborder属性を1以上指定した時点で、同時に
rules="all"を指定したと同じとなる。

また、そこにrules属性を加えると、その指定が優先される。

Why do not you register as a user and use Qiita more conveniently?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away