Which HTML5 tags are more appropriate to represent money amount

JavascriptWeb DevelopmentFront End Scripts

To display money amount, price, etc, try any of the following −

  • Use microdata to display a product’s price
  • Use <strong> element to show the importance of price.
  • Use <span> with a class to style the price differently.
  • You can also use the <b> element to give special representation to price.

If you’re showing income of employees or share rice, do not forget to add a column headed by −

<th scope="col">Salary</th>
Updated on 25-Jun-2020 06:04:15