美文网首页
HTML MathML

HTML MathML

作者: 不语翕 | 来源:发表于2017-11-08 16:47 被阅读0次
    <!DOCTYPE>
    <html>
    <head>
      <meta charset="UTF-8">
      <title>MathML Examples</title>
    </head>
    
    <body>
      <h2>a2 + b2 = c2</h2>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
        <mrow>
         <msup><mi>a</mi><mn>2</mn></msup>
         <mo>+</mo>
         <msup><mi>b</mi><mn>2</mn></msup>
         <mo>=</mo>
         <msup><mi>c</mi><mn>2</mn></msup>
        </mrow>
      </math>
    
    
      <h2>x 2 + 4 x + 4 = 0</h2>
      <math xmlns="http://www.w3.org/1998/Math/MathML">
        <mrow>
            <mrow>
                <msup>
                    <mi>x</mi>
                    <mn>2</mn>
                </msup>
                <mo>+</mo>
                <mrow>
                    <mn>4</mn>
                    <mo></mo>
                    <mi>x</mi>
                </mrow>
                <mo>+</mo>
                <mn>4</mn>
            </mrow>
            <mo>=</mo>
            <mn>0</mn>
        </mrow>
      </math>
    
      <h2></h2>
      <math xmlns="http://www.www.w3.org/1998/Math/MathML">
        <mrow>
            <mi>A</mi>
            <mo>=</mo>
            <mfenced open="["close="]">
                <mtable>
                    <mtr>
                        <mtd><mi>x</mi></mtd>
                        <mtd><mi>y</mi></mtd>
                    </mtr>
                    <mtr>
                        <mtd><mi>z</mi></mtd>
                        <mtd><mi>w</mi></mtd>
                    </mtr>
                </mtable>
            </mfenced>
        </mrow>
      </math>
    </body>
    </html>
    

    相关文章

      网友评论

          本文标题:HTML MathML

          本文链接:https://www.haomeiwen.com/subject/uqsymxtx.html