+1 vote
in Bootstrap by
Explain the two codes that are used for code display in Bootstrap?

1 Answer

0 votes
by

Explain the two codes that are used for code display in Bootstrap?

There are two simple ways to display code in Bootstrap:

<code> tag: In case you wish to display an inline code, simply add '<code> tag'

<pre> tag: In case you have a code with several lines or even a block element, you can display it using '<pre> tag'

🔗Reference : stackoverflow.com

🔗Source: Bootstrap Interview Questions and Answers for Freshers and Experience 

Related questions

0 votes
asked Oct 30, 2020 in Bootstrap by sharadyadav1986
+1 vote
asked Feb 28, 2021 in Bootstrap by JackTerrance
...