charset

HTML (DHTML)

charset Property

Internet Development Index

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

What's New for Microsoft® Internet Explorer 6

This property now applies to the a, link, and script objects.

Syntax

HTMLN/A
Scriptingobject.charset [ = sCharSet ]

Possible Values

sCharSetString that specifies or receives the character set.

The property is read/write. The property has no default value.

Remarks

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

Standards Information

This property is defined in World Wide Web Consortium (W3C) Document Object Model (DOM) Level 1 Non-Microsoft link.

Applies To

A, document, LINK, META, SCRIPT