Syntax error Bootstrap code tag styling

Bootstrap code tag styling



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>
Updated on: 2020-06-12T12:25:36+05:30

280 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements