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>
raja
Published on 05-Apr-2018 13:19:45
Advertisements