asp.net.ph

Skip Navigation Links

CHARSET Attribute | charset Property

Language References


Specifies the character set of the document.

Syntax


Inline <META CHARSET = sCharSet...>
Script object.charset = sCharSet ]

Possible Values


sCharSet String specifying the character set.

The property is read/write with no default value.

Example

This example sets the character set for the document.

<META HTTP-EQUIV="Content-Type"
  CONTENT="text/html; CHARSET=Windows-1251">
Applies To

document, META



© 2025 Reynald Nuñez and asp.net.ph. All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note