MCQ
Which attribute is used to specify the character encoding for an HTML document?
A charset
B encoding
C char-set
D encode
Explanation

The charset attribute in the <meta> tag specifies the character encoding for the HTML document, e.g., UTF-8.