<mglyph> - MathML 编辑
The MathML <mglyph>
element is used to display non-standard symbols where existing Unicode characters are not available. It may be used within token elements.
Attributes
- alt
- This attribute defines the alternative text describing the image. Users will see this displayed if the image URL is wrong, the image is not in one of the supported formats, or until the image is downloaded.
- class, id, style
- Provided for use with stylesheets.
- height
- The height of the image.
- href
- Used to set a hyperlink to a specified URI.
- mathbackground
- The background color (if the image has transparency). You can use
#rgb
,#rrggbb
and HTML color names. - src
- The image URL.
- valign
- Specifies the vertical alignment with respect to the current baseline.
- width
- The width of the image.
Examples
<math>
<mi><mglyph src="my-glyph.png" alt="my glyph"/></mi>
</math>
Specifications
Specification | Status | Comment |
---|---|---|
MathML 3.0 The definition of 'mglyph' in that specification. | Recommendation | Current specification |
MathML 2.0 The definition of 'mglyph' in that specification. | Recommendation | Initial specification |
Browser compatibility
BCD tables only load in the browser
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论