--- title: MathMLElement slug: Web/API/MathMLElement tags: - API - Interface - MathML - MathMLElement - Referencia translation_of: Web/API/MathMLElement ---
{{APIRef("MathML")}}

A interface MathMLElement representa qualquer elemento MathML.

Propiedades

Esta interface não tem propriedades, mas herda propriedades de: {{DOMxRef("DocumentAndElementEventHandlers")}}, {{DOMxRef("Element")}}, {{DOMxRef("ElementCSSInlineStyle")}}, {{DOMxRef("GlobalEventHandlers")}}, {{DOMxRef("HTMLOrForeignElement")}}

Métodos

Esta interface não tem métodos, mas herda métodos de: {{DOMxRef("DocumentAndElementEventHandlers")}}, {{DOMxRef("Element")}}, {{DOMxRef("ElementCSSInlineStyle")}}, {{DOMxRef("GlobalEventHandlers")}}, {{DOMxRef("HTMLOrForeignElement")}}

Exemplos

MathML

<math xmlns="http://www.w3.org/1998/Math/MathML">
  <msqrt>
    <mi>x</mi>
  </msqrt>
</math>

JavaScript

document.querySelector('msqrt').constructor.name; // MathMLElement

Especificações

Especificação Estado Comentário
MathMLElement interface

Compatibilidade

{{Compat("api.MathMLElement")}}

Ver também