Answer Posted / 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 |
Post New Answer View All Answers