How to Type ġ (G with dot above) on HTML
The letter ġ does not have its own key on an English keyboard, but HTML still makes it easy to type. Use ġ, or pick one of the other methods in this guide. ġ appears in Maltese.
ġ on HTML: ġ
Ġ on HTML: Ġ
Or copy it:
Method 1: Codes for web pages
| Format | Code for ġ |
|---|---|
| Decimal entity | ġ |
| Hex entity | ġ |
| CSS content | content: "\0121"; |
| JavaScript | "\u0121" |
| URL encoded | %C4%A1 |
| UTF-8 bytes | C4 A1 |
Method 2: Type it directly with UTF-8
If your page starts with <meta charset="utf-8"> and the file is saved as UTF-8, you can paste ġ straight into the HTML. Entities are only needed when your editor or database cannot store the character.
Method 3: Watch for normalization
ġ can also be written as g plus a combining mark. Both look the same but compare as different strings. In JavaScript, call str.normalize("NFC") before comparing or searching.
How to type the capital Ġ
The uppercase form works the same way with Shift added where a letter is typed.
Codes for web pages
| Format | Code for Ġ |
|---|---|
| Decimal entity | Ġ |
| Hex entity | Ġ |
| CSS content | content: "\0120"; |
| JavaScript | "\u0120" |
| URL encoded | %C4%A0 |
| UTF-8 bytes | C4 A0 |
Type it directly with UTF-8
If your page starts with <meta charset="utf-8"> and the file is saved as UTF-8, you can paste Ġ straight into the HTML. Entities are only needed when your editor or database cannot store the character.
About the letter ġ
ġ is Unicode U+0121, named LATIN SMALL LETTER G WITH DOT ABOVE. It is used in Maltese. A single dot above a letter, used in Polish (ż), Lithuanian (ė), Maltese (ċ, ġ, ż) and Turkish (İ, the dotted capital I). See the ġ character page for every code and shortcut.
Troubleshooting
- If you see à and other symbols, the file is UTF-8 but the browser reads it as Windows-1252. Add the meta charset tag.
- Named entities are case sensitive: É and é are different letters.
- In XML and XHTML only five named entities exist, so use numeric codes there.
Frequently asked questions
What is the shortcut for ġ on HTML?
ġ.
Can I just copy and paste ġ?
Yes. Click the copy button above, then paste with Ctrl+V on Windows and Chromebook, Cmd+V on a Mac, or touch and hold and choose Paste on a phone.
What is the Unicode code for ġ?
U+0121. In HTML it is ġ.
Related guides
- How to Type ġ (G with dot above) on Windows
- How to Type ġ (G with dot above) on Mac
- How to Type ġ (G with dot above) on iPhone
- How to Type ġ (G with dot above) on Android
- How to Type ġ (G with dot above) on Microsoft Word
- How to Type ġ (G with dot above) on Google Docs
- How to Type ĝ (G with circumflex) on HTML
- How to Type ğ (G with breve) on HTML
- How to Type ģ (G with cedilla) on HTML
- How to Type ĥ (H with circumflex) on HTML