Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

charset attribute | charset property

Sets or retrieves the character set used to encode the object.

Syntax

HTML<element charset="p" ... >
JavaScript

p = object.charset

 

Property values

Type: String

the character set.

Standards information

Remarks

For a, link, and script objects, you must set the value of this property before you can retrieve it.

See also

document
meta
script

 

 

Show: