Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
HTML では、パフォーマンスとページのレンダリング時間の点でどちらが高速ですか?
1) タグにタグ属性を使用する (テーブルにボーダー、バライン、幅、高さを追加するなど)
2) css を使用してそれらを定義する
ありがとう。
CSS を使用する利点の 1 つは、構造的なマークアップをページの書式設定とレイヤー化から分離できることです。そのため、属性ではなく、常に CSS を使用して要素をフォーマットする必要があります