style=style - スタイル指定
属性
<tagName style=style>
- スタイル指定
サポート
https://caniuse.com/mdn-html_elements_style説明
スタイルシートを指定します。詳細は「とほほのスタイルシート入門」を参照してください。
使用例
HTML
<div style="color:red"> 文字の色をスタイルシートで指定します。 </div>
表示
文字の色をスタイルシートで指定します。
関連項目
<style>リンク
- https://html.spec.whatwg.org/multipage/dom.html#the-style-attribute
- https://developer.mozilla.org/ja/docs/Web/HTML/Global_attributes/style
- https://caniuse.com/mdn-html_elements_style
Copyright (C) 2000-2017 杜甫々
初版:2000年10月9日 最終更新:2017年12月31日
https://www.tohoho-web.com/html/attr/style.htm