content attribute (meta)
Sets or returns the meta information itself.
The available values of the content attribute are dependent on the value of the name and the http-Equiv attributes.
JavaScript page for this attribute: content. You can find other example(s) there. |
Possible values:
String that sets the given type (specified by http-Equiv or name attribute) of information. The value of this attribute is dependent on the value of the http-Equiv and the name attributes.
Default: this attribute has no default value.
Example HTML code 1:
This example illustrates the use of the content attribute:
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="Expires" content="Tue, 20 Aug 2020 14:25:27 GMT" /> <meta name="Author" content="Dottoro" /> </head> <body > </body> </html> |
|||
|
|||
Did you find this example helpful?
|
Supported by tags:
Related pages:
External links:
User Contributed Comments