JavaScript Programmer’s Reference META.content (Property) The contents of
JavaScript Programmer’s Reference META.content (Property) The contents of the VALUE=”…” HTML tag attribute belonging to the tag that the object represents. Availability: DOM level 1 JavaScript 1.5 JScript 3.0 Internet Explorer 4.0 Netscape 6.0 Property/method value type: String primitive JavaScript syntax: -myMETA.content A tag will contain a name-value pair stored in two separate HTML tag attributes. The content property relates to the value part of that name-value pair. The name property is contained in a NAME=”…” HTML tag attribute. The web server hides additional information in header records that the client browser uses, but which are invisible to the user and generally hard to access from JavaScript. The tags support an HTTP-EQUIV=”…” HTML tag attribute which, although encoded as part of the document source, will behave as if it were a server response header value. This is also used in conjunction with the content property as an alternative way of forming a name-value pair. See also: META.charset, META.httpEquiv META.httpEquiv (Property) The contents of the HTTP-EQUIV=”…”HTML tag attribute belonging to the tag that the object represents. Availability: DOM level 1 JavaScript 1.5 JScript 3.0 Internet Explorer 4.0 Netscape 6.0 Property/method value type: String primitive JavaScript syntax: -myMETA.httpEquiv This property will also reflect the value of the NAME-=”…” HTML tag attribute if that was used in preference to the HTTP-EQUIV=”…”HTML tag attribute. However only one or the other may be present in the tag in the document source. This property is used in conjunction with the content property to construct a name-value pair. See also: META.content 1434