此屬性保存每個都好像沒有其他符號一樣繪製的符號,一次使用多個符號可能會發生符號重疊。此屬性僅由<menclose>標記接受。
<element notation=”actuarial|bottom|box|circle|downdiagonalstrike|left|longdiv|madruwb|phasorangle|radical|right|roundedbox|top|updiagonalarrow|updiagonalstrike|verticalstrike”
屬性值:
- actuarial:此值用於設置精算。
- bottom:此值用於設置底部。
- box:此值用於設置框。
- circle:該值用於設置圓。
- downdiagonalstrike:此值用於設置向下對角線打擊。
- left:此值用於設置左側。
- longdiv:此值用於設置longdiv。
- madruwb:此值用於設置madruwb。
- phasorangle:此值用於設置相角。
- radical:此值用於設置部首。
- right:此值用於設置權限。
- roundedbox:此值用於設置舍入框。
- top:此值用於設置頂部。
- updiagonalarrow:此值用於設置updiagonalarrow。
- updiagonalstrike:此值用於設置updiagonalstrike。
- verticalstrike:此值用於設置垂直打擊。
例:下麵的示例說明了HTML5 MathML中的符號屬性。
HTML
<!DOCTYPE html>
<html>
<body style="text-align:center;">
<h1 style="color:green">GeeksforGeeks</h1>
<h3>HTML5 MathML notation Attribute</h3>
<math>
<math>
<menclose notation="radical"
mathbackground="yellow"
mathcolor="purple">
<mrow>
<mi> x </mi>
<mo> + </mo>
<mi> y </mi>
</mrow>
</menclose>
<mi>=</mi>
<menclose notation="radical"
mathbackground="yellow"
mathcolor="purple">
<mi>z</mi>
</menclose>
</math>
</math>
</body>
</html>
輸出:
支持的瀏覽器:下麵列出了HTML5 MathML表示法屬性支持的瀏覽器。
- Firefox
相關用法
- HTML5 MathML notation屬性用法及代碼示例
- HTML5 MathML bevelled屬性用法及代碼示例
- HTML5 MathML href屬性用法及代碼示例
- HTML5 MathML framespacing屬性用法及代碼示例
- HTML5 MathML display屬性用法及代碼示例
- HTML5 MathML displaystyle屬性用法及代碼示例
- HTML5 MathML frame屬性用法及代碼示例
- HTML5 MathML height屬性用法及代碼示例
- HTML5 MathML rquote屬性用法及代碼示例
- HTML5 MathML lquote屬性用法及代碼示例
- HTML5 MathML id屬性用法及代碼示例
- HTML5 MathML close屬性用法及代碼示例
- HTML5 MathML lspace屬性用法及代碼示例
- HTML5 MathML mathbackground屬性用法及代碼示例
- HTML5 MathML denomalign屬性用法及代碼示例
- HTML5 MathML columnalign屬性用法及代碼示例
- HTML5 MathML dir屬性用法及代碼示例
- HTML5 MathML depth屬性用法及代碼示例
- HTML5 MathML columnspacing屬性用法及代碼示例
- HTML5 MathML align屬性用法及代碼示例
- HTML5 MathML actiontype屬性用法及代碼示例
- HTML5 MathML linethickness屬性用法及代碼示例
- HTML5 MathML largeop屬性用法及代碼示例
- HTML5 MathML maxsize屬性用法及代碼示例
注:本文由純淨天空篩選整理自skyridetim大神的英文原創作品 HTML5 MathML notation Attribute。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。