Examples

Here are some practical examples of how to use the codes from our catalog in your projects.

Using Unicode in HTML

<!DOCTYPE html>
<html>
<head>
  <title>Unicode Example</title>
</head>
<body>
  <p>This is a Unicode character: Ω (Omega)</p>
</body>
</html>

Using Alt Codes in Text Documents

To insert the symbol ©, hold down the Alt key and type 0169 on the numeric keypad.

Using HTML Decimal Codes

<!DOCTYPE html>
<html>
<head>
  <title>HTML Decimal Example</title>
</head>
<body>
  <p>This is an HTML Decimal code: &#169; (©)</p>
</body>
</html>

Using HTML Hex Codes

<!DOCTYPE html>
<html>
<head>
  <title>HTML Hex Example</title>
</head>
<body>
  <p>This is an HTML Hex code: &#xA9; (©)</p>
</body>
</html>

Using Binary Codes

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: ©

Example Project

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: &#169; (©)</p>
  <p>HTML Hex: &#xA9; (©)</p>
  <p>Binary: Use in programming languages to understand encoding</p>
</body>
</html>