<msub>
Baseline 2023Newly available
Since January 2023, this feature works across the latest devices and browser versions. This feature might not work in older devices or browsers.
<msub>
は MathML の要素で、式に下付き文字を付けるために用います。
<msub> ベース 下付き文字 </msub>
という構文を使用します。
属性
この要素の属性には、グローバル MathML 属性の他、以下の非推奨属性があります。
subscriptshift
非推奨; 非標準-
<length-percentage>
で、下付き文字部分を本体のベースラインから下げる最小量を示します。
メモ: superscriptshift
属性については、ブラウザーによっては古い MathML の長さも受け入れられるかもしれません。
例
html
<math display="block">
<msub>
<mi>X</mi>
<mn>1</mn>
</msub>
</math>
仕様書
Specification |
---|
MathML Core # subscripts-and-superscripts-msub-msup-msubsup |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
msub | ||||||||||||
subscriptshift |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
- Non-standard. Check cross-browser support before using.
- Deprecated. Not for use in new websites.
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
関連情報
<msub>
(上付き文字)<msubsup>
(上付き文字と下付き文字の組)<mmultiscripts>
(前付き文字とテンソルインデックス)