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?

link to the page section

有帮助吗?

解决方案

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.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top