HTML5 MathML(??? ???)
MathML ? ????? ?? ??? ??? ???? ?? ??? ??? ??? ??? ???? ?? XML ?? ??? ??? ?? W3C ?? ?????.
HTML5? ???? MathML ??? ??? ? ??? ?? ??? <math>...</math> ???.
????? ?? ?:
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>php中文網(wǎng)(php.cn)</title> </head> <body> <math xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> <msup><mi>X</mi><mn>2</mn></msup> <mo>+</mo> <msup><mi>Y</mi><mn>2</mn></msup> <mo>=</mo> <msup><mi>Z</mi><mn>2</mn></msup> </mrow> </math> </body> </html>
??: Firefox ????? ?? ?? ?? ????. ?? ?????? ??? ??? ?? ? ????.
??? ??:
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>php中文網(wǎng)(php.cn)</title> </head> <body> <math xmlns="http://www.w3.org/1998/Math/MathML"> <msup><mi>e</mi><mi>iπ</mi></msup> <mo>+</mo> <mn>1</mn> <mo>=</mo> <mn>0</mn> </math> </body> </html>
?? ??? ?:
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>php中文網(wǎng)(php.cn)</title> </head> <body> <math xmlns="http://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>
??: Firefox ????? ???.