0 votes
112 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 91 views
0 votes
1 answer 132 views
0 votes
1 answer 139 views
+1 vote
1 answer 98 views
0 votes
1 answer 90 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

535 users

...