index.html
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Mandatory Charset for Emojis -->
<meta charset="UTF-8">
<title>HTML Emojis Guide</title>
</head>
<body>
<h2>Rendering Emojis in HTML5</h2>
<!-- 1. Direct Literal Characters -->
<p>Direct copy-paste characters: 🚀 🌟 🔥 🎉 💡</p>
<!-- 2. Decimal HTML Entities -->
<p>Decimal entities: 😀 (Grinning Face) | 👍 (Thumbs Up)</p>
<!-- 3. Hexadecimal HTML Entities -->
<p>Hexadecimal entities: 😀 (Smile) | 💻 (Laptop)</p>
<!-- 4. Accessible Emoji with Description -->
<p>
System Status: Operational
<span role="img" aria-label="Checkmark badge">✅</span>
</p>
<!-- 5. Decorative Emoji hidden from screen readers -->
<h3>
<span aria-hidden="true">⚡</span> Lightning Fast Performance
</h3>
</body>
</html>