Here are some practical examples of how to use the codes from our catalog in your projects.
<!DOCTYPE html>
<html>
<head>
<title>Unicode Example</title>
</head>
<body>
<p>This is a Unicode character: Ω (Omega)</p>
</body>
</html>
To insert the symbol ©, hold down the Alt key and type 0169 on the numeric keypad.
<!DOCTYPE html>
<html>
<head>
<title>HTML Decimal Example</title>
</head>
<body>
<p>This is an HTML Decimal code: © (©)</p>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>HTML Hex Example</title>
</head>
<body>
<p>This is an HTML Hex code: © (©)</p>
</body>
</html>
Binary codes are not typically used in web development but can be useful for understanding character encoding. Here’s an example:
// Example usage in programming
const binaryCode = "11000010101001";
const char = String.fromCharCode(parseInt(binaryCode, 2));
console.log(char); // Outputs: ©
Here's an example of a simple HTML page using multiple types of codes:
<!DOCTYPE html>
<html>
<head>
<title>Symbol Codes Example</title>
</head>
<body>
<p>Unicode: Ω (Omega)</p>
<p>Alt Code: Use in text editor by pressing Alt + 0169</p>
<p>HTML Decimal: © (©)</p>
<p>HTML Hex: © (©)</p>
<p>Binary: Use in programming languages to understand encoding</p>
</body>
</html>