diff options
author | Florian Merz <me@fiji-flo.de> | 2021-02-11 14:50:24 +0100 |
---|---|---|
committer | Florian Merz <me@fiji-flo.de> | 2021-02-11 14:50:24 +0100 |
commit | 2c2df5ea01eb5cd8b9ea226b2869337e59c5fe3e (patch) | |
tree | 86ab4534d10092b293d4b7ab169fe1a8a2421bfa /files/pt-pt/glossary/element/index.html | |
parent | 8260a606c143e6b55a467edf017a56bdcd6cba7e (diff) | |
download | translated-content-2c2df5ea01eb5cd8b9ea226b2869337e59c5fe3e.tar.gz translated-content-2c2df5ea01eb5cd8b9ea226b2869337e59c5fe3e.tar.bz2 translated-content-2c2df5ea01eb5cd8b9ea226b2869337e59c5fe3e.zip |
unslug pt-pt: move
Diffstat (limited to 'files/pt-pt/glossary/element/index.html')
-rw-r--r-- | files/pt-pt/glossary/element/index.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/files/pt-pt/glossary/element/index.html b/files/pt-pt/glossary/element/index.html new file mode 100644 index 0000000000..4acc682ed0 --- /dev/null +++ b/files/pt-pt/glossary/element/index.html @@ -0,0 +1,20 @@ +--- +title: Elemento +slug: Glossário/Elemento +tags: + - CodingScripting + - Glossário + - HTML +translation_of: Glossary/Element +--- +<p>Um elemento faz parte de uma página da Web. Em XML e HTML, um elemento pode conter um item de dados ou parte de texto ou uma imagem, ou talvez nada. Um elemento típico inclui uma <em>tag</em> de abertura com alguns atributos, conteúdo de texto fechado e uma <em>tag</em> de fecho.<img alt="Example: in <p class="nice">Hello world!</p>, '<p class="nice">' is an opening tag, 'class="nice"' is an attribute and its value, 'Hello world!' is enclosed text content, and '</p>' is a closing tag." src="https://mdn.mozillademos.org/files/7659/anatomy-of-an-html-element.png" style="height: 181px; width: 609px;"></p> + +<p>Elementos e <em>tags</em> não são a mesma coisa. <em>Tags</em> começam e terminam um elemento no código fonte, onde os elementos são parte de {{Glossary("DOM")}}, o documento modelo para exibir a página no {{glossary("browser","navegador")}}.</p> + +<h2 id="Consultar_também">Consultar também</h2> + +<ul> + <li>A interface {{domxref("Element","Elemento")}}, representando um element no DOM.</li> + <li><a href="/en-US/docs/Web/Guide/HTML/Element">Mais detalhes sobre os elementos</a></li> + <li><a href="https://developer.mozilla.org/en-US/docs/Web/Web_Components/Custom_Elements">Web_Components/Custom_Elements</a></li> +</ul> |