In Bootstrap what are the two ways you can display the code?

In bootstrap you can display code in two ways

  • <code> tag : If you are going to display code inline, you should use <code> tag
  • <pre> tag: If you want to display the code as a standalone block element or it has multiple lines then you should use <pre> tag

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *