Specifying the Character Encoding of a Stylesheet - HTML CSS CSS

HTML CSS examples for CSS:Introduction

Introduction

Specifying a Type of Character Encoding in a Stylesheet

@charset "UTF-8";
@import "styles.css";
span {
    border: medium black dashed;
    padding: 10px;
}

If there is no encoding specified for the HTML document, UTF-8 will be used by default.


Related Tutorials