aside html
<aside>: aside 要素
<aside>
要素を使用すると、Web ページの残りの部分とは別のコンテンツを持つことができますが、メイン コンテンツに間接的に関連しています。
脇のレイアウトは、CSSスタイルシートを使用してスタイルを設定する必要があります。
- さて、脇の HTML には、引用符、リンク、吹き出し、著者情報、広告、背景情報があります。
aside
タグは、グローバル属性とイベント属性をサポートします。
html aside
<article> The Shannara Chronicles is an American fantasy drama television series. It is an adaptation of <b>The Sword of Shannara</b> trilogy of fantasy novels by <b>Terry Brooks.</b> <aside> <p> Filming for the 10-episode first season wrapped in New Zealand at Auckland Film Studios in June 2015 </p> </aside> <p>More info about the series...</p> </article>
手記:
<aside>
要素は、ブラウザでは特別なものとしてレンダリングされません。ただし、CSS を使用して 要素のスタイルを設定することはできます<aside>
。
aside 例
ブラウザのサポート
表の数字は、要素を完全にサポートする最初のブラウザーのバージョンを指定します。
要素 | Chrome | Edge | Mozilla | Safari | Opera |
---|---|---|---|---|---|
<aside> | 6.0 | 9.0 | 4.0 | 5.0 | 11.1 |