aboutsummaryrefslogtreecommitdiff
path: root/files/pt-pt/web/api/mathmlelement/index.html
blob: ee2504017a2004b00b2cdfbacbd90f6da372e8b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
---
title: MathMLElement
slug: Web/API/MathMLElement
tags:
  - API
  - Interface
  - MathML
  - MathMLElement
  - Referencia
translation_of: Web/API/MathMLElement
---
<div>{{APIRef("MathML")}}</div>

<p class="summary">A interface <strong><code>MathMLElement</code></strong> representa qualquer elemento <a href="/pt-PT/docs/Web/MathML">MathML</a>.</p>

<h2 id="Propiedades">Propiedades</h2>

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

<ul>
</ul>

<h2 id="Métodos">Métodos</h2>

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

<h2 id="Exemplos">Exemplos</h2>

<h3 id="MathML">MathML</h3>

<pre class="brush: html notranslate">&lt;math xmlns="http://www.w3.org/1998/Math/MathML"&gt;
  &lt;msqrt&gt;
    &lt;mi&gt;x&lt;/mi&gt;
  &lt;/msqrt&gt;
&lt;/math&gt;</pre>

<h3 id="JavaScript">JavaScript</h3>

<pre class="brush: js notranslate">document.querySelector('msqrt').constructor.name; // MathMLElement</pre>

<h2 id="Specification" name="Specification">Especificações</h2>

<table class="standard-table">
 <thead>
  <tr>
   <th scope="col">Especificação</th>
   <th scope="col">Estado</th>
   <th scope="col">Comentário</th>
  </tr>
 </thead>
 <tbody>
  <tr>
   <td><a href="https://mathml-refresh.github.io/mathml-core/#dom-mathmlelement">MathMLElement interface</a></td>
   <td></td>
   <td></td>
  </tr>
 </tbody>
</table>

<h2 id="Compatibilidade">Compatibilidade</h2>



<p>{{Compat("api.MathMLElement")}}</p>

<h2 id="Ver_também">Ver também</h2>

<ul>
 <li>{{DOMxRef("Element")}}</li>
 <li>{{DOMxRef("HTMLElement")}}</li>
 <li>{{DOMxRef("SVGElement")}}</li>
</ul>