Role: Defines the MIME type and character set of the document.
Importance: Ensures the correct rendering of content, which is critical for SEO and user experience.
Meta Content-Type tag
Meta Content-Type tag must be placed between the <head> and </head> as follow:
<!DOCTYPE html>
<html>
<head>
<title>Sample Page</title>
</head>
<body>
<!-- body content here -->
<footer>
<!-- Footer content here -->
</footer>
</body>
</html>
×