Bootstrap code tag styling

BootstrapWeb DevelopmentCSS Framework

Using Bootstrap, you can easily display code with <code> and <pre> tag.

The <code> tag displays code wrapped as an inline element.

To display code with the <code> tag, you can try to run the following code −

Example

<p>
   <code>&lt;header&gt;</code> is wrapped as an inline element.
</p>
raja
Published on 18-Jun-2018 15:13:15
Advertisements