Reputation: 45
I'm going through the HTML beginner guide in the webplatform.org website and at (the HTML <head>) page in the (Setting your document's character encoding) section i'm not sure I understand that sentence:
It is, however, important to understand that just putting (meta charset="utf-8") in your title element doesn't magically convert your page to a UTF-8 encoding.
Do they mean, in your head element?
Upvotes: 0
Views: 97
Reputation: 201728
Yes, they mean the head
element. That’s the only context where a meta
tag for character encoding may validly appear. And a title
element can contain only text, no tags.
Upvotes: 1