When will you use <code>tag and <pre>tag?
Answer / Rohit Singh
The HTML `<code>` tag is used for displaying a short section of computer code, or other inline text that should be treated as code. On the other hand, the `<pre>` (short for preformatted) tag is used when you want to showcase larger blocks of preformatted text or code, while maintaining its original spacing and line breaks. In Bootstrap, both tags can be styled with syntax highlighting using external libraries like PrismJS.
| Is This Answer Correct ? | 0 Yes | 0 No |
Which class make a set of buttons appear vertically stacked rather than horizontally?
What Is Lead Body Copy?
How will you create a pills navigation menu?
Tell me what are the steps for creating basic or vertical forms?
Explain types of lists supported by Bootstrap?
Do you know who developed the bootstrap?
What Contextual Classes Are Available To Style The Panels?
What do you mean by normalize in bootstrap?
Can we make images responsive in bootstrap?
Explain what are class loaders in Bootstrap?
What is bootstrap navbar?
In Bootstrap what are the two ways you can display the code?