From 33058f2b292b3a581333bdfb21b8f671898c5060 Mon Sep 17 00:00:00 2001 From: Peter Bengtsson Date: Tue, 8 Dec 2020 14:40:17 -0500 Subject: initial commit --- files/zh-cn/web/mathml/element/msubsup/index.html | 87 +++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 files/zh-cn/web/mathml/element/msubsup/index.html (limited to 'files/zh-cn/web/mathml/element/msubsup/index.html') diff --git a/files/zh-cn/web/mathml/element/msubsup/index.html b/files/zh-cn/web/mathml/element/msubsup/index.html new file mode 100644 index 0000000000..cf083f698e --- /dev/null +++ b/files/zh-cn/web/mathml/element/msubsup/index.html @@ -0,0 +1,87 @@ +--- +title: +slug: Web/MathML/Element/msubsup +tags: + - MathML + - MathML 参考 +translation_of: Web/MathML/Element/msubsup +--- +
{{MathMLRef}}
+ +

MathML <msubsup> 元素用于为表达式同时附加上角标和下角标。

+ +

它的语法如下:<msubsup> base subscript superscript </msubsup>.

+ +

属性

+ +
+
classidstyle
+
样式使用。
+
href
+
Used to set a hyperlink to a specified URI.
+
mathbackground
+
背景颜色。支持 #rgb#rrggbbHTML 颜色名称
+
mathcolor
+
文本颜色。支持 #rgb#rrggbbHTML 颜色名称
+
subscriptshift {{deprecated_inline}}
+
The minimum space by which to shift the subscript below the baseline of the expression, as a length value.
+ This attribute is deprecated and will be removed in the future.
+
superscriptshift {{deprecated_inline}}
+
The minimum space by which to shift the superscript above the baseline of the expression, as a length value.
+ This attribute is deprecated and will be removed in the future.
+
+ +

示例

+ +

示例渲染结果:x1

+ +

当前浏览器中的渲染结果: 0 1

+ +
<math displaystyle="true">
+
+  <msubsup>
+    <mo> &#x222B;<!-- 积分符号 --> </mo>
+    <mn> 0 </mn>
+    <mn> 1 </mn>
+  </msubsup>
+
+</math>
+
+ +

规范

+ + + + + + + + + + + + + + + + + + + + + +
规范状态备注
{{ SpecName('MathML3', 'chapter3.html#presm.msubsup', 'msubsup') }}{{ Spec2('MathML3') }}Current specification
{{ SpecName('MathML2', 'chapter3.html#presm.msubsup', 'msubsup') }}{{ Spec2('MathML2') }}Initial specification
+ +

浏览器兼容性

+ + + +

{{Compat("mathml.elements.msubsup")}}

+ +

参见

+ + -- cgit v1.2.3-54-g00ecf