MathML accentunder屬性用於指定元素是否被視為重音符號。值為true表示重音符號更接近基本表達式,值為false表示限製音。兩者之間的區別在於限製的大小減小了,而重音的大小與基數相同。
用法:
<element accentunder="true | false">
屬性值:此屬性具有上麵提到和下麵描述的兩個值:
- true:此值意味著該元素被視為更接近基本表達式的重音。
- false:該值意味著該元素被視為限製。
下麵的示例說明了MathML accentunder屬性:
例:
HTML
<!DOCTYPE html>
<html>
<body style="text-align:center;">
<h1 style="color:green">
GeeksforGeeks
</h1>
<h3>
HTML5 MathML accentunder Attribute
</h3>
<math>
<mrow>
<mrow>
<msup>
<mi>x</mi>
<mn>2</mn>
</msup>
<mo accentunder="true">+</mo>
<msup>
<mi>y</mi>
<mn>2</mn>
</msup>
</mrow>
<mo accentunder="false">=</mo>
<msup>
<mi>z</mi>
<mn>2</mn>
</msup>
</mrow>
</math>
</body>
</html>
輸出:
支持的瀏覽器:下麵列出了HTML5 MathML accentunder屬性支持的瀏覽器:
- Firefox
相關用法
- HTML5 MathML accentunder屬性用法及代碼示例
- 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 accentunder Attribute。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。