1
Foro libre pregunta lo que quieras / Re:Funciones Matemáticas con HTML5
« en: Mayo 14, 2013, 08:49:21 pm »
COn html5 se introduce la etiqueta <math> para mostrar expresiones matemáticas, aquí tienes todas las posibles especificaciones:
http://www.w3.org/TR/MathML2/
y Aquí un simple ejemplo:
se obtiene
x2 + 4x + 5 = 0
http://www.w3.org/TR/MathML2/
y Aquí un simple ejemplo:
Código: [Seleccionar]
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Ejemplo MAthml</title>
</head>
<body>
<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>5</mn>
</mrow>
<mo>=</mo>
<mn>0</mn>
</mrow>
</math>
</body>
</html>se obtiene
x2 + 4x + 5 = 0


