EN
이 콘텐츠는 한국어로 제공되지 않아 영어 버전으로 표시됩니다.

name attribute | name property

Sets or retrieves the value specified in the content attribute of the meta object.

HTML 4.01 Specification, Section 7.4.4

Syntax

HTML<element name="p" ... >
JavaScript

p = object.name

Property values

Type: String

name

Arbitrary value.

Description

Associated content attribute describes the containing document. Some search engines use this to provide the user with a document summary in the result of a search.

DownloadOptions

A Windows Store app using JavaScript for Windows XP SP2. Associated content attribute determines the visibility of buttons in the File Download dialog box.

Note  If more than one meta tag is set with the DownloadOptions value, a Windows Store app using JavaScript uses the last one.

ValueCondition
noopen

Hides either the Run or the Open button from the File Download dialog box, depending on which button would normally be displayed.

nosave

Hides the Save button from the File Download dialog box.

 

Generator

Associated content attribute identifies the name of the application used to create the document.

Keywords

Associated content attribute consists of comma-delimited words describing the document. Some search engines use this to allow the user to perform a keyword search.

ProgID

Associated content attribute contains the programmatic identifier of the document's default editor.

Robots

Associated content attribute indicates whether the containing document should be indexed by search engines that recognize the meta object.

ValueCondition
all

Search engines can index the containing document.

noindex

Search engines cannot index the containing document.

 

Template

Associated content attribute specifies the location of the template used to edit the document. Use this in conjunction with the ProgID meta object if the editor supports document templates.

Standards information

Remarks

The name attribute typically is assigned one of the preceding well-defined values, but any arbitrary value can be specified. Custom tools can be developed to perform special actions on documents containing arbitrary meta tags.

See also

meta

 

 

표시:
© 2014 Microsoft