The XHTML Special Symbols reference outline was made for Web Developers and Designers to get a quick overlook to the list of most asked for Special Characters and Symbols in XHTML. The image below demonstrates the difference between the special characters and Normal characters.
For the best designing practices, Users appear to incline toward the "fancy" characters for single quotes, double quotes, em dashes, en dashes, C, and ellipses. Since User need to get satisfaction of the client with website design, it is important to embed these special characters in the XHTML code.
The code below demonstrates to display the special characters as shown.
[html]
<!DOCTYPE html>
<html>
<body>
<p>I will display €</p>
<p>I will display &+#8364;</p>
<p>I will display &+#x20AC;</p>
</body>
</html>
[/html]
Result
By running the above code in a preferred browser user can get the following out put as shown in below image.
In order to add the special symbols which are not presented in normal key board user need to use the entity name if entity name is not present then user need to use the entity number i.e decimal reference. Some of the symbols are not available on keyboard. These symbols are defined in XHTML with some characters those are given below.
Char |
Number Combinations |
Entity |
Description |
∂ |
&+#8706; |
∂ |
PARTIAL DIFFERENTIAL |
∃ |
&+#8707; |
∃ |
THERE EXISTS |
∈ |
&+#8712; |
∈ |
ELEMENT OF |
∇ |
&+#8711; |
∇ |
NABLA |
∅ |
&+#8709; |
∅ |
EMPTY SETS |
∉ |
&+#8713; |
∉ |
NOT AN ELEMENT OF |
∑ |
&+#8721; |
∑ |
N-ARY SUMMATION |
∏ |
&+#8719; |
∏ |
N-ARY PRODUCT |
∋ |
&+#8715; |
∋ |
CONTAINS AS MEMBER |
User can add some more entities which get the support of xhtml is listed Below.Symbols are not available on keyboard. These symbols are defined in XHTML with some characters those are given below.
Char |
Number Combinations |
Entity |
Description |
© |
&+#169; |
© |
COPYRIGHT SIGN |
® |
&+#174; |
® |
REGISTERED SIGN |
← |
&+#8592; |
← |
LEFTWARDS ARROW |
™ |
&+#8482; |
™ |
TRADEMARK |
€ |
&+#8364; |
€ |
EURO SIGN |
↑ |
&+#8593; |
↑ |
UPWARDS ARROW |
♠ |
&+#9824; |
♠ |
BLACK SPADE SUIT |
↓ |
&+#8595; |
↓ |
DOWNWARDS ARROW |
→ |
&+#8594; |
→ |
RIGHTWARDS ARROW |
♣ |
&+#9827; |
♣ |
BLACK CLUB SUIT |
♥ |
&+#9829; |
♥ |
BLACK HEART SUIT |
♦ |
&+#9830; |
♦ |
BLACK DIAMOND SUIT |
Remove "+" and use the Number