Dollar Sign in HTML
In this article, I will tell you about HTML code for dollar sign. You can put dollar signs directly but sometimes they don’t work in HTML. So, we can put a dollar symbol using HTML code. Let’s see how to do it.
Three ways to put dollar signs
<span>HTML code :$</span><br>
<span >Hexcode :$</span><br>
<span>Normal : $</span>
Output:
- In the above code, the first method is using HTML code. The dollar sign HTML code is “$”.
- Then we use the second method using Hexcode. The dollar sign Hexcode is “$”.
- And finally, we use the normal method. We put the dollar sign “SHIFT+4”
We can display the dollar symbol in HTML ouput only by using these three methods. You can use the easy method “SHIFT + 4” if that doesn’t work then you can use the Hexcode method. So, I hope you will follow the dollar sign through this article