From a02f4b2f60c81e09b318a090e5c9c2d2d641c878 Mon Sep 17 00:00:00 2001 From: t7yang Date: Sat, 17 Jul 2021 16:10:02 +0800 Subject: replace wiki links in zh-CN --- files/zh-cn/web/html/attributes/index.html | 98 +++++++++++++++--------------- 1 file changed, 49 insertions(+), 49 deletions(-) (limited to 'files/zh-cn/web/html/attributes/index.html') diff --git a/files/zh-cn/web/html/attributes/index.html b/files/zh-cn/web/html/attributes/index.html index 846e47bddd..eb514c19f5 100644 --- a/files/zh-cn/web/html/attributes/index.html +++ b/files/zh-cn/web/html/attributes/index.html @@ -25,64 +25,64 @@ translation_of: Web/HTML/Attributes - accept + accept {{ HTMLElement("form") }}, {{ HTMLElement("input") }} 服务器接受内容或文件类型的列表。 - accept-charset + accept-charset {{ HTMLElement("form") }} 支持的字符集列表。 - accesskey + accesskey 全局属性 定义键盘快捷键来激活或者聚焦元素 - action + action {{ HTMLElement("form") }} 表单信息提交的url地址,指向进行处理的程序。 - align + align {{ HTMLElement("applet") }}, {{ HTMLElement("caption") }}, {{ HTMLElement("col") }}, {{ HTMLElement("colgroup") }},  {{ HTMLElement("hr") }}, {{ HTMLElement("iframe") }}, {{ HTMLElement("img") }}, {{ HTMLElement("table") }}, {{ HTMLElement("tbody") }},  {{ HTMLElement("td") }},  {{ HTMLElement("tfoot") }} , {{ HTMLElement("th") }}, {{ HTMLElement("thead") }}, {{ HTMLElement("tr") }} 设置元素的水平对齐。 - allow + allow {{ HTMLElement("iframe") }} Specifies a feature-policy for the iframe. - alt + alt

{{ HTMLElement("applet") }}, {{ HTMLElement("area") }}, {{ HTMLElement("img") }}, {{ HTMLElement("input") }}

在图片无法呈现时的替代文本。 - async + async {{ HTMLElement("script") }} 表示该脚本应该异步执行。 - autocapitalize - 全局属性 + autocapitalize + 全局属性 Sets whether input is automatically capitalized when entered by user - autocomplete + autocomplete {{ HTMLElement("form") }}, {{ HTMLElement("input") }}, {{ HTMLElement("select") }}, {{ HTMLElement("textarea") }} 表示该表单中是否可以由浏览器自动完成填值。 - autofocus + autofocus {{ HTMLElement("button") }}, {{ HTMLElement("input") }}, {{ HTMLElement("keygen") }}, {{ HTMLElement("select") }}, {{ HTMLElement("textarea") }} 在网页加载后该元素应该自动聚焦。 - autoplay + autoplay {{ HTMLElement("audio") }}, {{ HTMLElement("video") }}  audio或video应该自动播放 @@ -116,12 +116,12 @@ translation_of: Web/HTML/Attributes - buffered + buffered {{ HTMLElement("audio") }}, {{ HTMLElement("video") }} 包含已缓存媒体的时间范围。 - capture + capture {{ HTMLElement("input") }} From the HTML Media Capture
The definition of 'media capture' in that specification.
spec, specifies a new file can be captured. @@ -132,32 +132,32 @@ translation_of: Web/HTML/Attributes 与公钥一起提交的挑战字符。 - charset + charset {{ HTMLElement("meta") }}, {{ HTMLElement("script") }} 申明该页面或脚本的字符编码。 - checked + checked {{ HTMLElement("command") }}, {{ HTMLElement("input") }} 指出该元素在页面加载后是否处于选中状态。 - cite + cite {{ HTMLElement("blockquote") }}, {{ HTMLElement("del") }}, {{ HTMLElement("ins") }}, {{ HTMLElement("q") }} 包含一个URI,用来指明引用或修改的源地址。 - class + class 全局属性 经常和CSS一起配合使用来修饰元素。 - code + code {{ HTMLElement("applet") }} 标明被加载和执行的applet类文件的URL。 - codebase + codebase {{ HTMLElement("applet") }} 指出存放applet类文件基本URL地址(绝对或相对),这些文件由code属性标明。 @@ -173,53 +173,53 @@ translation_of: Web/HTML/Attributes - cols + cols {{ HTMLElement("textarea") }} 定义一个textarea中包含多少列。 - colspan + colspan {{ HTMLElement("td") }}, {{ HTMLElement("th") }} 该属性一般用在td标签中,用于指定一个单元格占用多少列,例如:<td colspan='2'>表示占用一个单元格占2列. - content + content {{ HTMLElement("meta") }} A value associated with http-equiv or name depending on the context. - contenteditable + contenteditable 全局属性 指出该元素的内容是否可以被编辑。 - contextmenu + contextmenu 全局属性 定义将用作元素上下文菜单的{{HTMLElement("Menu")}}元素的ID。 - controls + controls {{ HTMLElement("audio") }}, {{ HTMLElement("video") }} 指出浏览器是否对用户显示播放控制台(前进或回退) - coords + coords {{ HTMLElement("area") }} A set of values specifying the coordinates of the hot-spot region. - crossorigin + crossorigin {{ HTMLElement("audio") }}, {{ HTMLElement("img") }}, {{ HTMLElement("link") }}, {{ HTMLElement("script") }}, {{ HTMLElement("video") }} How the element handles cross-origin requests - csp {{experimental_inline}} + csp {{experimental_inline}} {{ HTMLElement("iframe") }} Specifies the Content Security Policy that an embedded document must agree to enforce upon itself. -

data

+

data

{{ HTMLElement("object") }}

@@ -230,7 +230,7 @@ translation_of: Web/HTML/Attributes -

data-*

+

data-*

全局属性

@@ -240,77 +240,77 @@ translation_of: Web/HTML/Attributes - datetime + datetime {{ HTMLElement("del") }}, {{ HTMLElement("ins") }}, {{ HTMLElement("time") }} Indicates the date and time associated with the element. - decoding + decoding {{ HTMLElement("img") }} Indicates the preferred method to decode the image. - default + default {{ HTMLElement("track") }} Indicates that the track should be enabled unless the user's preferences indicate something different. - defer + defer {{ HTMLElement("script") }} Indicates that the script should be executed after the page has been parsed. - dir + dir 全局属性 Defines the text direction. Allowed values are ltr (Left-To-Right) or rtl (Right-To-Left) - dirname + dirname {{ HTMLElement("input") }}, {{ HTMLElement("textarea") }} - disabled + disabled {{ HTMLElement("button") }}, {{ HTMLElement("command") }}, {{ HTMLElement("fieldset") }}, {{ HTMLElement("input") }}, {{ HTMLElement("keygen") }}, {{ HTMLElement("optgroup") }}, {{ HTMLElement("option") }}, {{ HTMLElement("select") }}, {{ HTMLElement("textarea") }} Indicates whether the user can interact with the element. - download + download {{ HTMLElement("a") }}, {{ HTMLElement("area") }} Indicates that the hyperlink is to be used for downloading a resource. - draggable + draggable 全局属性 Defines whether the element can be dragged. - dropzone + dropzone 全局属性 Indicates that the element accept the dropping of content on it. - enctype + enctype {{ HTMLElement("form") }} Defines the content type of the form date when the method is POST. - enterkeyhint {{experimental_inline}} - {{ HTMLElement("input") }}, {{ HTMLElement("textarea") }}, contenteditable + enterkeyhint {{experimental_inline}} + {{ HTMLElement("input") }}, {{ HTMLElement("textarea") }}, contenteditable The enterkeyhint specifies what action label (or icon) to present for the enter key on virtual keyboards. The attribute can be used with form controls (such as the value of textarea elements), or in elements in an editing host (e.g., using contenteditable attribute). - for + for {{ HTMLElement("label") }}, {{ HTMLElement("output") }} 描述与当前元素绑定的元素。 - form + form {{ HTMLElement("button") }}, {{ HTMLElement("fieldset") }}, {{ HTMLElement("input") }}, {{ HTMLElement("keygen") }}, {{ HTMLElement("label") }}, {{ HTMLElement("meter") }}, {{ HTMLElement("object") }}, {{ HTMLElement("output") }}, {{ HTMLElement("progress") }}, {{ HTMLElement("select") }}, {{ HTMLElement("textarea") }} Indicates the form that is the owner of the element. - formaction + formaction <input><button> Indicates the action of the element, overriding the action defined in the <form>. @@ -689,5 +689,5 @@ translation_of: Web/HTML/Attributes

参见

-- cgit v1.2.3-54-g00ecf