start learning
Image 1

meta charset tag

Role: Specifies the character encoding for the HTML document.
Importance: Ensures proper display of all characters and symbols, preventing encoding issues that can affect user experience and SEO.

    <meta charset="UTF-8">

The charset meta tag must be placed between the <head> and </head> as follow:

<!DOCTYPE html>
    <meta charset="UTF-8">
    <title>Sample Page</title>
      <!-- body content here -->
        <!-- Footer content here -->