You can display any Unicode character on your web page, by directly typing in the character using special software on your computer. If you do not have such software, you can add &#x (an ampersand, pound sign, and the letter x) to the front of the Unicode character code and end the Unicode character code with a ; (semicolon).
The Unicode character code for the ʻokina is 02BB, which is listed in the Unicode code chart as "MODIFIER LETTER TURNED COMMA". (The Unicode character codes are hexidecimal numbers, which use a base 16 numbering system, so the letters A, B, C, D, E, and F represent the decimal numbers 10, 11, 12, 13, 14, and 15.) To display the actual character, we add &#x (an ampersand, pound sign, and the letter x) in front of the Unicode character code.
For example, the HTML code for Hawaiʻi is Hawaiʻi.
Here are the character displays and Unicode character codes for the kahakō:
Ā is Ā
ā is ā
Ē is Ē
ē is ē
Ī is Ī
ī is ī
Ō is Ō
ō is ō
Ū is Ū
ū is ū
For example, the HTML code for Lānaʻi is Lānaʻi.
Unfortunately, computers with older versions of Mac OS and Windows may not support Unicode, so the browsers on these computers might not display the ʻokina and kahakō correctly.
Click to validate the HTML code
Click to validate the CSS code