aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/svg/attribute/version
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:40:17 -0500
commit33058f2b292b3a581333bdfb21b8f671898c5060 (patch)
tree51c3e392513ec574331b2d3f85c394445ea803c6 /files/zh-cn/web/svg/attribute/version
parent8b66d724f7caf0157093fb09cfec8fbd0c6ad50a (diff)
downloadtranslated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.gz
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.tar.bz2
translated-content-33058f2b292b3a581333bdfb21b8f671898c5060.zip
initial commit
Diffstat (limited to 'files/zh-cn/web/svg/attribute/version')
-rw-r--r--files/zh-cn/web/svg/attribute/version/index.html31
1 files changed, 31 insertions, 0 deletions
diff --git a/files/zh-cn/web/svg/attribute/version/index.html b/files/zh-cn/web/svg/attribute/version/index.html
new file mode 100644
index 0000000000..6fb63d6aec
--- /dev/null
+++ b/files/zh-cn/web/svg/attribute/version/index.html
@@ -0,0 +1,31 @@
+---
+title: version
+slug: Web/SVG/Attribute/version
+translation_of: Web/SVG/Attribute/version
+---
+<p><strong><code>version</code></strong> 属性用于指明 SVG 文档遵循规范。 它只允许在根元素<a href="/en-US/docs/Web/SVG/Element/svg">&lt;svg&gt;</a> 上使用。 它纯粹是一个说明,对渲染或处理没有任何影响。</p>
+
+<p>虽然它接受任何数字,但是只有<code>1.0</code> 和 <code>1.1</code>.这两个有效的选择。</p>
+
+<h2 id="Usage_context">Usage context</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="row">类别</th>
+ <td>None</td>
+ </tr>
+ <tr>
+ <th scope="row">值</th>
+ <td><a href="/en/SVG/Content_type#Number" title="https://developer.mozilla.org/en/SVG/Content_type#Number">&lt;number&gt;</a></td>
+ </tr>
+ <tr>
+ <th scope="row">动画属性</th>
+ <td>No</td>
+ </tr>
+ <tr>
+ <th scope="row">标准文件</th>
+ <td><a href="http://www.w3.org/TR/SVG11/struct.html#SVGElementVersionAttribute" rel="external" title="http://www.w3.org/TR/SVG11/struct.html#SVGElementVersionAttribute">SVG 1.1 (2nd Edition): version attribute</a></td>
+ </tr>
+ </tbody>
+</table>