Bootstrap Code
17 July, 2014
No Comments

Bootstrap Code allows you to show html css and other language codes with three different key ways:
-
The first option is the <code> tag. If you are going to be displaying code inline, you should use the <code> tag.
Let us see an example below:
1 - Second option is the <pre> tag. If the code needs to be displayed as a standalone block element or if it has multiple lines, then you should use the <pre> tag.
- Third option is user <kbd> input Use the <kbd> to indicate input that is typically entered via keyboard.
Let us see an example below:
1 |
Let us see an example below:
1 |
Ensure that when you use both the <pre> and <code> tags, you use the unicode variants for the opening and closing tags: < and >.