charset attribute | charset property
Sets or retrieves the character set used to encode the object.
Syntax
| HTML | <element charset="p" ... > |
|---|---|
| JavaScript | |
Property values
Type: String
the character set.
Standards information
- Document Object Model (DOM) Level 1 Specification, Section 2.5.5
Remarks
For a, link, and script objects, you must set the value of this property before you can retrieve it.
You must set the value of this property before you can retrieve it.
In Microsoft Internet Explorer 6, This property now applies to the a, link, and script objects.
See also
Show: