25. HTML kokonaisuus
HTML kokonaisuudet merkeissä
Jotkut merkit ovat varattuja HTML kielessä.
Jos käytät merkkejä (<) (>) tekstissäsi, selain saattaa korjata niitä tageilla.
Merkki kokonaisuuksia käytetään näyttämään varattuja merkkejä HTML kielessä.
Merkki kokonaisuus näyttää tältä:
&entity_name;
tai
&#entity_number;
Muita käytännöllisiä HTML merkki kokonaisuuksia
| Result | Description | Entity Name | Entity Number |
|---|---|---|---|
| Ei rivin vaihtoa | |   | |
| < | Pienempi kuin | < | < |
| > | Suurempi kuin | > | > |
| & | ampersand | & | & |
| ¢ | sentti | ¢ | ¢ |
| £ | punta | £ | £ |
| ¥ | yeni | ¥ | ¥ |
| € | euro | € | € |
| © | copyright | © | © |
| ® | rekisteröity tavaramerkki | ® | ® |
![]() |
Entity names are case sensitive. |
|---|
Combining Diacritical Marks
A diacritical mark is a "glyph" added to a letter.
Some diacritical marks, like grave ( ̀) and acute ( ́) are called accents.
Diacritical marks can appear both above and below a letter, inside a letter, and between two letters.
Diacritical marks can be used in combination with alphanumeric characters, to produce a character that is not present in the character set (encoding) used in the page.
Here are some examples:
| Mark | Character | Construct | Result |
|---|---|---|---|
| ̀ | a | à | à |
| ́ | a | á | á |
| ̂ | a | â | â |
| ̃ | a | ã | ã |
| ̀ | O | Ò | Ò |
| ́ | O | Ó | Ó |
| ̂ | O | Ô | Ô |
| ̃ | O | Õ | Õ |
