asp.net.ph

Skip Navigation LinksHome > Abakada: Back to Basics > Language References > HTML Element Attributes > CHARSET Attribute

CHARSET Attribute | charset Property


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



Check out related books at Amazon

© 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