HTML code for INR

前端 未结 12 2406
野趣味
野趣味 2020-12-08 00:36

For pound (£) there is HTML code £.

For INR can you please tell me the HTML code?

相关标签:
12条回答
  • 2020-12-08 01:11

    You can use the following HTML snippet:

    <p>Price &#x20b9; 9500 = &#x20b9; 9500</p>
    <p>Price &#8377; 5500 = &#8377; 5500</p>
    <p>Price &#8360; 500 = &#8360; 500</p>
    <p>Price &#x20a8; 2000 = &#x20a8; 2000</p>

    0 讨论(0)
  • 2020-12-08 01:11

    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>
    
    0 讨论(0)
  • 2020-12-08 01:14

    Please try this -

    INR (₹) sign HTML Code - &#x20B9;

    0 讨论(0)
  • 2020-12-08 01:14

    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.

    0 讨论(0)
  • 2020-12-08 01:14

    Use similar symbol: <del>&#2352;</del> =>

    Try &#8377; => ₹

    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

    0 讨论(0)
  • 2020-12-08 01:17

    ₹​ Indian rupee sign. HTML: &#8377; — ₹ or &#x20B9; — also ₹, corresponding to Unicode U+20B9.

    0 讨论(0)
提交回复
热议问题