0 votes
125 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 105 views
0 votes
1 answer 147 views
0 votes
1 answer 164 views
+1 vote
1 answer 117 views
0 votes
1 answer 102 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

557 users

...