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>< ; div > ;</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>< ;p> ;Sample text < ;/p> ;</pre>
Variables
For indicating variables user may use the <var> tag. <var>y</var> = <var>m</var><var>x</var> + <var>b</var>
Sample output
For indicating blocks sample output from a program user may use the <samp
> tag. <samp
>This is a sample output text.</samp
>
No comments:
Post a Comment