0 votes
132 views
in HTML by (3.5k points)
edited
In Bootstrap, what are the two codes for displaying code?

1 Answer

0 votes
by (3.5k points)
edited

In Bootstrap, there are two straightforward ways to display code:

  • The <code> element is used to showcase a piece of inline code.
  • You can use the <pre> tag to display a code that has multiple lines or even a block element.

Related questions

0 votes
1 answer 111 views
0 votes
1 answer 154 views
0 votes
1 answer 169 views
+1 vote
1 answer 127 views
0 votes
1 answer 106 views
asked Aug 21, 2022 in HTML by codelikepro (3.5k points)

Doubtly is an online community for engineering students, offering:

  • Free viva questions PDFs
  • Previous year question papers (PYQs)
  • Academic doubt solutions
  • Expert-guided solutions

Get the pro version for free by logging in!

5.7k questions

5.1k answers

108 comments

561 users

...