Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: 033 HTML Symbols #266

Merged
merged 2 commits into from
Oct 18, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 82 additions & 0 deletions HTML/033 HTML Symbols/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
# HTML Symbols

Symbol yang tidak ada di keyboard Anda dapat ditambahkan dengan menggunakan entitas.

## Entitas HTML Symbols

Banyak Symbol matematika, teknis, dan mata uang, tidak ada pada keyboard normal.

Untuk menambahkan simbol tersebut ke halaman HTML, Anda dapat menggunakan nama entitas atau nomor entitas (referensi desimal atau heksadesimal) untuk Symbol tersebut.

## Contoh

Tampilkan tanda euro, €, dengan nama entitas, desimal, dan nilai heksadesimal:

```html
<p>I will display &euro;</p>
<p>I will display &#8364;</p>
<p>I will display &#x20AC;</p>
```

Hasilnya menjadi:

```html
I will display €
I will display €
I will display €
```

### Beberapa Symbol Matematika yang Didukung oleh HTML

| Nomor | Char | Nomor | Entitas | Deskripsi |
| :---: | :--: | :-------: | :--------: | :----------------------: |
| 01 | ∀ | `&#8704;` | `&forall;` | UNTUK SEMUA |
| 02 | ∂ | `&#8706;` | `&part;` | DIFERENSIAL PARSIAL |
| 03 | ∃ | `&#8707;` | `&exist;` | ADA |
| 04 | ∅ | `&#8709;` | `&empty;` | SET KOSONG |
| 05 | ∇ | `&#8711;` | `&nabla;` | NABLA |
| 06 | ∈ | `&#8712;` | `&isin;` | ELEMENT DARI |
| 07 | ∉ | `&#8713;` | `&notin;` | BUKAN ELEMENT DARI |
| 08 | ∋ | `&#8715;` | `&ni;` | BERISI SEBAGAI ANGGOTA |
| 09 | ∏ | `&#8719;` | `&prod;` | N-ARY PRODUK |
| 10 | ∑ | `&#8721;` | `&sum;` | N-ARY JUMLAH |

[List Symbol Matematika](https://www.w3schools.com/charsets/ref_utf_math.asp)

### Beberapa Bahasa Yunani yang Didukung oleh HTML

| Nomor | Char | Nomor | Entitas | Deskripsi |
| :---: | :--: | :------: | :---------: | :--------------------------: |
| 01 | Α | `&#913;` | `&Alpha;` | HURUF BESAR ALPHA YUNANI |
| 02 | Β | `&#914;` | `&Beta;` | HURUF BESAR BETA YUNANI |
| 03 | Γ | `&#915;` | `&Gamma;` | HURUF BESAR GAMMA YUNANI |
| 04 | Δ | `&#916;` | `&Delta;` | HURUF BESAR DELTA YUNANI |
| 05 | Ε | `&#917;` | `&Epsilon;` | HURUF BESAR EPSILON YUNANI |
| 06 | Ζ | `&#918;` | `&Zeta;` | HURUF BESAR ZETA YUNANI |

[List Symbol Huruf Yunani](https://www.w3schools.com/charsets/ref_utf_greek.asp)

### Beberapa Entitas lain yang Didukung oleh HTML

| Nomor | Char | Nomor | Entitas | Deskripsi |
| :---: | :--: | :-------: | :--------: | :-----------------: |
| 01 | © | `&#169;` | `&copy;` | TANDA HAK CIPTA |
| 02 | ® | `&#174;` | `&reg;` | TANDA TERDAFTAR |
| 03 | € | `&#8364;` | `&euro;` | TANDA EURO |
| 04 | ™ | `&#8482;` | `&trade;` | MEREK DAGANG |
| 05 | ← | `&#8592;` | `&larr;` | PANAH KIRI |
| 06 | ↑ | `&#8593;` | `&uarr;` | PANAH ATAS |
| 07 | → | `&#8594;` | `&rarr;` | PANAH KANAN |
| 08 | ↓ | `&#8595;` | `&darr;` | PANAH BAWAH |
| 09 | ♠ | `&#9824;` | `&spades;` | SPADE HITAM |
| 10 | ♣ | `&#9827;` | `&clubs;` | CLUB HITAM |
| 11 | ♥ | `&#9829;` | `&hearts;` | HEART HITAM |
| 12 | ♦ | `&#9830;` | `&diams;` | DIAMOND HITAM |

[List Symbol Mata Uang](https://www.w3schools.com/charsets/ref_utf_currency.asp)

[List Symbol Panah](https://www.w3schools.com/charsets/ref_utf_arrows.asp)

[List Symbol](https://www.w3schools.com/charsets/ref_utf_symbols.asp)

Sumber: [w3schools](https://www.w3schools.com/html/html_symbols.asp)