Do you know in bootstrap what are the two ways you can display the code?



Do you know in bootstrap what are the two ways you can display the code?..

Answer / Ashish Kumar Kushwaha

In Bootstrap, there are two ways to display code blocks: using the `<pre>` tag with the class `pre-code`, or using the `<code>` tag with the language syntax highlighting classes like `hljs`. The former provides basic formatting, while the latter offers colorization and improved readability for specific programming languages.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Bootstrap Interview Questions

How Can You Enhance The Crawling Frequency By Search Engines For Your Website?

1 Answers  


Tell me how to create a navbar in bootstrap?

1 Answers  


What is a list group in bootstrap and where does it finds its application?

1 Answers  


Explain what is Modal plugin used for in Bootstrap?

1 Answers  


Explain bootstrap 4 tables?

1 Answers  


What is column offset in bootstrap?

1 Answers  


What are bootstrap panels?

1 Answers  


List the features of bootstrap.

1 Answers  


What is bootstrap carousel? Explain

1 Answers  


How to make images responsive in bootstrap?

1 Answers  


How will you create a progress bar using bootstrap?

1 Answers  


How will you create a Bootstrap Dismissal Alert?

1 Answers  


Categories