HTML
Try it »
Browser support





All major browsers support the charset property.
Definition and Usage
The charset property specifies the character encoding used in the external script file.
The charset property is used when the character encoding in the external script file differs from the encoding in the HTML document.
Tips and Notes
**Note:** The charset property only applies to external scripts (only when the src attribute is used).
Differences between HTML 4.01 and HTML5
none.