Computer >> Computer tutorials >  >> Programming >> Javascript

Which HTML5 tags are more appropriate to represent money amount


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>