diff options
author | Florian Merz <me@fiji-flo.de> | 2021-02-11 12:56:53 +0100 |
---|---|---|
committer | Florian Merz <me@fiji-flo.de> | 2021-02-11 12:56:53 +0100 |
commit | fc56124ac4eda6b3f0349c8a16fa750f27b4c7d6 (patch) | |
tree | 7089f49c5dcc5428f29711439ab79ac387caf44f /files/zh-cn/glossary/element/index.html | |
parent | 310fd066e91f454b990372ffa30e803cc8120975 (diff) | |
download | translated-content-fc56124ac4eda6b3f0349c8a16fa750f27b4c7d6.tar.gz translated-content-fc56124ac4eda6b3f0349c8a16fa750f27b4c7d6.tar.bz2 translated-content-fc56124ac4eda6b3f0349c8a16fa750f27b4c7d6.zip |
unslug zh-cn: modify
Diffstat (limited to 'files/zh-cn/glossary/element/index.html')
-rw-r--r-- | files/zh-cn/glossary/element/index.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/files/zh-cn/glossary/element/index.html b/files/zh-cn/glossary/element/index.html index d199da5b07..c5ac84aedb 100644 --- a/files/zh-cn/glossary/element/index.html +++ b/files/zh-cn/glossary/element/index.html @@ -1,12 +1,13 @@ --- title: Element(元素) -slug: Glossary/元素 +slug: Glossary/Element tags: - HTML - XML - 术语 - 编程 translation_of: Glossary/Element +original_slug: Glossary/元素 --- <p><strong>元素</strong>是网页的一部分,在 {{glossary("XML")}} 和 {{glossary("HTML")}} 中,一个元素可以包含一个数据项,或是一块文本,或是一张照片,亦或是什么也不包含。 一个典型的元素包括一个具有一些{{glossary("attribute", "属性")}}的开始标签,中间的文本内容和一个结束标签。<br> <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> |