aboutsummaryrefslogtreecommitdiff
path: root/files/pt-pt/web/html/element/progress/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/pt-pt/web/html/element/progress/index.html')
-rw-r--r--files/pt-pt/web/html/element/progress/index.html128
1 files changed, 128 insertions, 0 deletions
diff --git a/files/pt-pt/web/html/element/progress/index.html b/files/pt-pt/web/html/element/progress/index.html
new file mode 100644
index 0000000000..0b99ea2873
--- /dev/null
+++ b/files/pt-pt/web/html/element/progress/index.html
@@ -0,0 +1,128 @@
+---
+title: progress
+slug: Web/HTML/Elemento/progress
+translation_of: Web/HTML/Element/progress
+---
+<h2 id="Resumo">Resumo</h2>
+
+<p>O HTML <em>progress</em> (<code>&lt;progress&gt;</code>) é o elemento usado para mostrar o progresso de uma tarefa. Enquanto os detalhes específicos de como ele é exibido é deixado para o desenvolvedor web, é tipicamente exibido como uma barra de progresso.</p>
+
+<h2 id="Contexto_de_uso">Contexto de uso</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <td>Conteúdo permitido</td>
+ <td><a href="/en/HTML/Content_categories#Phrasing_content" title="en/HTML/Content categories#Phrasing content">Phrasing content</a></td>
+ </tr>
+ <tr>
+ <td>Tag omission</td>
+ <td>None, both, o inicio da tag e o final da tag são obrigatórios.</td>
+ </tr>
+ <tr>
+ <td>Elemento pai permitido</td>
+ <td><a href="/en/HTML/Content_categories#Phrasing_content" title="en/HTML/Content categories#Phrasing content">Phrasing content</a>, mas não deve haver descedentes no elemento progress  .</td>
+ </tr>
+ <tr>
+ <td>Documento normativo</td>
+ <td><a class="external" href="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-progress-element" rel="external nofollow" title="http://www.whatwg.org/specs/web-apps/current-work/multipage/the-button-element.html#the-progress-element">HTML5, section 4.10.16</a></td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Atributos">Atributos</h2>
+
+<p>Como todos os outros elementos HTML, este elemento possui os <a href="/en/HTML/Global_attributes" rel="internal">atributos globais</a>.</p>
+
+<dl>
+ <dt>{{ htmlattrdef("form") }}</dt>
+ <dd>This attribute specifies the form which the <code>progress</code> element belongs to.</dd>
+ <dt>{{ htmlattrdef("max") }}</dt>
+ <dd>This attribute describes how much work the task indicated by the <code>progress</code> element requires.</dd>
+ <dt>{{ htmlattrdef("value") }}</dt>
+ <dd>This attribute specifies how much of the task that has been completed. If there is no <code>value</code> attribute, the progress bar is indeterminate; this indicates that an activity is ongoing with no indication of how long it is expected to take.</dd>
+</dl>
+
+<p>You can use the {{ cssxref("orient") }} property to specify whether the progress bar should be rendered horizontally (the default) or vertically. The {{ cssxref(":indeterminate") }} pseudo-class can be used to match against indeterminate progress bars.</p>
+
+<h2 id="DOM_interface">DOM interface</h2>
+
+<p>Este elemento implementa a interface <code><a href="/en/DOM/HTMLProgressElement" title="en/DOM/HTMLProgressElement">HTMLProgressElement</a></code>.</p>
+
+<h2 id="Exemplos">Exemplos</h2>
+
+<pre class="script">&lt;progress value="70" max="100"&gt;70 %&lt;/progress&gt;
+</pre>
+
+<h3 id="Resultado">Resultado</h3>
+
+<p><a href="/samples/html/progress.html">View Live Examples</a></p>
+
+<p>No Google Chrome, o resultado do progress parece deste modo:</p>
+
+<p><img alt="progress-1.png" class="default internal" src="/@api/deki/files/4946/=progress-1.png"></p>
+
+<h3 id="Exemplos_Adicionais">Exemplos Adicionais</h3>
+
+<p>Veja {{ cssxref("orient") }}.</p>
+
+<h2 id="Compatibilidade_dos_Browsers">Compatibilidade dos Browsers</h2>
+
+<p>{{ CompatibilityTable() }}</p>
+
+<div id="compat-desktop">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Características</th>
+ <th>Chrome</th>
+ <th>Firefox (Gecko)</th>
+ <th>Internet Explorer</th>
+ <th>Opera</th>
+ <th>Safari</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>6.0</td>
+ <td>{{ CompatGeckoDesktop("6.0") }}</td>
+ <td>No</td>
+ <td>11</td>
+ <td>nightlies</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<div id="compat-mobile">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Características</th>
+ <th>Android</th>
+ <th>Firefox Mobile (Gecko)</th>
+ <th>IE Mobile</th>
+ <th>Opera Mobile</th>
+ <th>Safari Mobile</th>
+ </tr>
+ <tr>
+ <td>Basic support</td>
+ <td>{{ CompatUnknown() }}</td>
+ <td>{{ CompatUnknown() }}</td>
+ <td>{{ CompatUnknown() }}</td>
+ <td>{{ CompatUnknown() }}</td>
+ <td>{{ CompatUnknown() }}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<h3 id="Gecko_notes">Gecko notes</h3>
+
+<p>Gecko provides the {{ cssxref("::-moz-progress-bar") }} pseudo-element, which lets you style the part of the interior of the progress bar representing the amount of work completed so far.</p>
+
+<h2 id="Veja_também">Veja também</h2>
+
+<ul>
+ <li>{{ cssxref("orient") }}</li>
+ <li>{{ cssxref(":indeterminate") }}</li>
+</ul>