<msqrt>
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.
MathML の <msqrt>
要素は平方根(根指数のついていない累乗根)を表示するために用いられます。 引数は一つだけで、構文は <msqrt> base </msqrt>
となります。
属性
- class, id, style
-
CSSを用いて修飾を行なう際に使われます。
- href
-
ハイパーリンクを設定する際に用いられます。
- mathbackground
-
数式の背景色を指定するために使われます。
#rgb
、#rrggbb
のような 16 進表現のほか、HTML で定められた色キーワードを用いることができます。 - mathcolor
-
根号を含んだ数式の文字の色を指定するために使われます。
#rgb
、#rrggbb
のような 16 進表現のほか、HTML で定められた色キーワードを用いることができます。
例
レンダリングのサンプル(画像):
ブラウザのレンダリング結果:
html
<math>
<msqrt>
<mi>x</mi>
</msqrt>
</math>
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
msqrt |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
- No support
- No support
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.
仕様書
Specification |
---|
MathML Core # radicals-msqrt-mroot |
関連情報
<mroot>
(Radical with an index)