Monday, November 27, 2017

code inside bootstrap design

Hi, I am  going to show about the bootstrap code writing procedure, ie if we have to show a html or javascript or any other code on browser then we can use the bootstrap code.


Inline

if you have to write some inline code than you have to use  code tag

For example, <code>&lt ; div &gt ;</code> should be show as inline.

User input


If you want to give permission as user can input from keyboard or input devices then user can use 
kbd tag to indicate input that is typically entered via keyboard.
 
To switch directories, type <kbd>cd</kbd> followed by the name of the directory.
To edit settings, press <kbd><kbd>ctrl</kbd> + <kbd>,</kbd></kbd>

Basic block


Use <pre> for multiple lines of code. Be sure to escape any angle brackets in the code for proper rendering. user may optionally add the .pre-scrollable class, which will set a max-height of 350px and provide a y-axis scrollbar. <pre>&lt ;p&gt ;Sample text &lt ;/p&gt ;</pre> 

Variables

 For indicating variables user may use the <var> tag. <var&gty</var&gt = <var&gtm</var&gt<var&gtx</var&gt + <var&gtb</var&gt 

Sample output

 For indicating blocks sample output from a program user may use the <samp&gt tag. <samp&gtThis is a sample output text.</samp&gt 

Hope the post will help you.

No comments:

Bootstrap Button Group

In our previus post we've learned regarding bootstrap button anw we tend to square measure progressing to learn Bootstrap three Button ...