www.fgks.org   »   [go: up one dir, main page]

charset Property

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

Syntax

HTMLN/A
Scripting[ sCharSet = ] object.charset

Possible Values

sCharSetString that specifies or receives the character set.

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

Remarks

In Microsoft Internet Explorer 6, This property now applies to the a, link, and script objects.

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 World Wide Web link.

Applies To

A, document, LINK, META, SCRIPT


MSDN Library
Web Development
HTML and CSS
HTML and DHTML Reference
Properties
charset