From 01b845e6d402777fe03cc4dd7ed5f21af400eed1 Mon Sep 17 00:00:00 2001 From: Jason Lee Date: Tue, 4 Jan 2022 17:38:26 +0800 Subject: Improve copywriting for add spaces between Chinese and English words for files/zh-cn/web/html/element. --- files/zh-cn/web/html/element/time/index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'files/zh-cn/web/html/element/time/index.html') diff --git a/files/zh-cn/web/html/element/time/index.html b/files/zh-cn/web/html/element/time/index.html index 0e5b97e110..e6746bce63 100644 --- a/files/zh-cn/web/html/element/time/index.html +++ b/files/zh-cn/web/html/element/time/index.html @@ -5,7 +5,7 @@ translation_of: Web/HTML/Element/time ---

概述

-

 HTML time 标签(<time>) 用来表示24小时制时间或者公历日期,若表示日期则也可包含时间和时区。

+

 HTML time 标签 (<time>) 用来表示 24 小时制时间或者公历日期,若表示日期则也可包含时间和时区。

此元素意在以机器可读的格式表示日期和时间。 有安排日程表功能的应用可以利用这一点。

@@ -46,9 +46,9 @@ translation_of: Web/HTML/Element/time
{{ htmlattrdef("datetime") }}
-
该属性表示此元素的时间和日期,并且属性值必须是一个有效的日期格式,并可包含时间。 如果此值不能被解析为日期,元素不会有一个关联的时间戳.
+
该属性表示此元素的时间和日期,并且属性值必须是一个有效的日期格式,并可包含时间。 如果此值不能被解析为日期,元素不会有一个关联的时间戳。
{{ htmlattrdef("pubdate") }}
-
(该属性仍在被WHATWG 和 W3C组织设计和讨论中.) This Boolean attribute specifies that the date and time given by the element is the publication date of a document. The document it applies to is either the nearest ancestor article element or the document as a whole (if there is no ancestor article element). If true, the time element must have a corresponding date. Additionally, each time element indicating a publication date must be the only time element that does so for that document.
+
(该属性仍在被 WHATWG 和 W3C 组织设计和讨论中.) This Boolean attribute specifies that the date and time given by the element is the publication date of a document. The document it applies to is either the nearest ancestor article element or the document as a whole (if there is no ancestor article element). If true, the time element must have a corresponding date. Additionally, each time element indicating a publication date must be the only time element that does so for that document.

DOM 接口

@@ -60,7 +60,7 @@ translation_of: Web/HTML/Element/time
<p>The concert starts at <time>20:00</time>.</p>
 
-

上面的HTML会显示:

+

上面的 HTML 会显示:

The concert starts at 20:00.

@@ -71,7 +71,7 @@ translation_of: Web/HTML/Element/time </article> -

上面的HTML会显示:

+

上面的 HTML 会显示:

This article was created on 2011-01-28.

@@ -80,7 +80,7 @@ translation_of: Web/HTML/Element/time
<p>The concert took place on <time datetime="2001-05-15 19:00">May 15</time>.</p>
 
-

上面的HTML会显示:

+

上面的 HTML 会显示:

The concert took place on May 15.

-- cgit v1.2.3-54-g00ecf