content | NN all IE all HTML all |
content="valueString" | Required |
The equivalent of the value of a name/value pair. The attribute is usually accompanied by either a name or http-equiv attribute, either of which act as the name portion of the name/value pair. Specific values of the content attribute vary with the value of the name or http-equiv attribute. Sometimes, the content attribute value contains multiple values. In such cases, the values are delimited by commas, semicolons, or whatever delimiter the browser expects for that content. Some of these values may be name/value pairs in their own right, such as the content for a refresh meta element. The first value is a number representing the number of seconds delay before loading another document; the second value indicates a URL of the document to load after the delay expires. |
|
Example | |
<META http-equiv="refresh" content="2;URL=http://www.giantco.com/basicindex.html"> |
|
Value | |
Any string of characters. The string must be inside a matching pair of (single or double) quotation marks. |
|
Default | |
None. |
|
Object Model Reference | |
[window.]document.getElementById(elementID).content
|