name attribute | name property
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.
Internet Explorer 6 for Windows XP SP2 and later. 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, Internet Explorer uses the last one.
Value Condition noopen
Hides either the Run or the Open button from the File Download dialog box, depending on which button would normally be displayed.
Hides the Save button from the File Download dialog box.
Associated content attribute identifies the name of the application used to create the document.
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.
Associated content attribute contains the programmatic identifier of the document's default editor.
Value Condition all
Search engines can index the containing document.
Search engines cannot index the containing document.
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
- HTML 4.01 Specification, Section 7.4.4
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.
To enable the smart edit features in Microsoft Internet Explorer 5 or later, add a meta tag to the head of the document. Associate ProgID with the name attribute, and associate the programmatic identifier of the desired editor with the content attribute. If the specified editor is not installed or properly registered on the user's system, the edit button is not displayed. Consult the documentation of your editor to determine its programmatic identifier.
This example adds meta tags to the head of an HTML document to display a smart edit button on the toolbar as of Internet Explorer 5. Because the ProgID meta tag is associated with the programmatic identifier of Word, the button displays the Word icon. When you click the button, Internet Explorer loads the document into Word using the specified document template.
<meta name="ProgID" content="word.document"> <meta name="Template" content="C:\Program Files\Microsoft Office\Office\html.dot">
Build date: 11/17/2013