Declaring UTF-8 so text renders correctly everywhere.
- Category: HTML Tutorial — part of the HTML Tutorial on GoCareerGo
- Read the short summary above, then check the linked docs for full syntax/behaviour
- Interview tip: be ready to explain "HTML Character Set (charset)" in one sentence, then back it up with a tiny example
<!-- HTML Character Set (charset) -->
<div>
<!-- see MDN for the full attribute/tag reference -->
</div>Tip
Quick recall: "HTML Character Set (charset)" — declaring UTF-8 so text renders correctly everywhere.