For pound (£) there is HTML code £
.
For INR can you please tell me the HTML code?
You can use the following HTML snippet:
<p>Price ₹ 9500 = ₹ 9500</p>
<p>Price ₹ 5500 = ₹ 5500</p>
<p>Price ₨ 500 = ₨ 500</p>
<p>Price ₨ 2000 = ₨ 2000</p>
How about using fontawesome icon for Indian Rupee (INR).
Add font awesome CSS from CDN in the Head section of your HTML page:
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
And then using the font like this:
<i class="fa fa-inr" aria-hidden="true"></i>
Please try this -
INR (₹) sign HTML Code - ₹
The indian rupee sign is pretty new (introduced this July if I read it correctly) and doesn't even have a Unicode position yet, much less a HTML entity.
Even when it gets a Unicode position, it will probably still take years until it can be reliably used on a web page, because the client computers' Fonts will need to be updated accordingly. (I could imagine a font-face
workaround with a custom font, though.)
Wikipedia uses an image file to display the symbol. It's far from good, but it may be the best workaround at the moment.
The generic rupee sign has three Unicode characters. See here.
Use similar symbol: <del>र</del>
=> र
Try ₹
=> ₹
Use an image(bad solution but works): <img src="http://i.stack.imgur.com/nGbfO.png" width="8" height="10">
=>
Source: Empty rectanglar box is displayed instead of the rupee symbol in HTML
₹ Indian rupee sign. HTML: ₹
— ₹ or ₹
— also ₹, corresponding to Unicode U+20B9.