CodeNewbie Community šŸŒ±

Vishnubhotla Bharadwaj
Vishnubhotla Bharadwaj

Posted on • Originally published at bharadwaj.hashnode.dev on

Special symbols in HTML

Hello friends, hope you all doing well. In this blog, I am going to write about special symbol creation using HTML. You can ask me why should we create them. Here is the reason:

There are some special symbols that cannot be typed using a keyboard. But we can add them to our website using some codes. I am going to explain them in detail using CodePen.

Here is the first example, creating a Trademark symbol

<body>
    &trade;
</body>

Enter fullscreen mode Exit fullscreen mode

In this way, we can create many special keywords. Here is the list:

Geek Symbols

Symbol -> Name -> Code

Ī± -> Alpha -> &alpha

Ī² -> Beta -> &beta

Ī³ -> Gamma -> &gamma

Ī“ -> Delta -> &delta

Īµ -> Epsilon -> &epsilon

Īø -> Theta -> &theta

Ī» -> Lamda -> &lambda

Ī¼ -> Mu -> &mu

Ļ€ -> Pi -> &pi

Code for Geek symbols

<body>
  <h1>Geek Symbols</h1>
  &alpha;
  &beta;
  &gamma;
  &delta;
  &epsilon;
  &theta;
  &lambda;
  &mu;
  &pi;
</body>

Enter fullscreen mode Exit fullscreen mode

Trade Symbols

Symbol -> Name -> Code

ā„¢ -> Trademark -> &trade

Ā® -> Registered trademark -> &reg

Ā© -> Copyright -> &copy

Code for Trade symbols

<h1>Trade Symbols</h1>
  &trade;
  &reg;
  &copy;

Enter fullscreen mode Exit fullscreen mode

Card Symbols

Symbol -> Name -> Code

ā™„ -> Hearts -> heartsuit

ā™¦ -> Diamond -> heartsuit

ā™  -> Spades -> spadesuit

&Clubsuit; -> Hearts -> heartsuit

Code for Card symbols

<h1>Card Symbols</h1>
&heartsuit;
  &diamondsuit;
  &clubsuit;
  &spadesuit;

Enter fullscreen mode Exit fullscreen mode

Currency Symbols

Symbol -> Name -> Code

ā‚¹ -> Indian rupee -> &#8377

ā‚¬ -> Euro -> &euro

ā‚± -> Peso -> &#8369

ā‚£ -> French Franc -> &#8355

ā‚æ -> Bitcoin -> &#8383

ā‚© -> Won -> &#8361

ā‚½ -> Ruble -> &#8381

ā‚¾ -> Lari -> &#8382

Code for Currency symbols

<h1>Currency Symbols</h1>
&#8377;
  &euro;
  &#8369;
  &#8355;
  &#8383;
  &#8361;
  &#8381;
  &#8382;

Enter fullscreen mode Exit fullscreen mode

Math Symbols

Symbol -> Name -> Code

Ć· -> Divide -> &divide

ā†‘ -> Up arrow -> &uarr

ā†’ -> Right arrow -> &rarr

ā†“ -> Down arrow -> &darr

ā† -> Left arrow -> &larr

āˆš -> Square root -> &radic

āˆ -> Proportion -> &prop

āˆ« -> Integral -> &int

āˆ“ -> Therefore -> &there4

ā‡’ -> Implies -> &rArr

āˆ€ -> For all -> &forall

Code for Math symbols

<h1>Math Symbols</h1>
&divide;
  &uarr;
  &rarr;
  &darr;
  &larr;
  &radic;
  &prop;
  &int;
  &there4;
  &rArr;
  &forall;

Enter fullscreen mode Exit fullscreen mode

Outputs of all the code:

Screenshot (112).png

Screenshot (113).png

The link for Code is attached here

Top comments (0)