Cov ntaub ntawv thiab cov piv txwv rau kev nthuav qhia inline thiab multiline blocks ntawm code nrog Bootstrap.

Inline code

Qhwv inline snippet ntawm code nrog <code>. Nco ntsoov khiav HTML lub kaum sab xis.

Piv txwv li, <section>yuav tsum tau qhwv li inline.
For example, <code>&lt;section&gt;</code> should be wrapped as inline.

Code blocks

Siv <pre>s rau ntau kab ntawm cov cai. Ib zaug ntxiv, nco ntsoov kom khiav tawm txhua lub kaum sab xis hauv cov cai rau kev ua kom raug. Koj tuaj yeem xaiv ntxiv cov .pre-scrollablechav kawm, uas yuav teeb tsa max-qhov siab ntawm 340px thiab muab y-axis scrollbar.

<p>Sample text here...</p>
<p>And another line of sample text here...</p>
<pre><code>&lt;p&gt;Sample text here...&lt;/p&gt;
&lt;p&gt;And another line of sample text here...&lt;/p&gt;
</code></pre>

Hloov pauv

Txhawm rau qhia qhov hloov pauv siv lub <var>cim.

y = m x + b
<var>y</var> = <var>m</var><var>x</var> + <var>b</var>

Cov neeg siv tswv yim

Siv qhov <kbd>taw qhia cov tswv yim uas feem ntau nkag los ntawm cov keyboard.

Txhawm rau hloov cov npe, ntaus cdua raws li lub npe ntawm cov npe.
Txhawm rau kho qhov chaw, nias ctrl + ,
To switch directories, type <kbd>cd</kbd> followed by the name of the directory.<br>
To edit settings, press <kbd><kbd>ctrl</kbd> + <kbd>,</kbd></kbd>

Qauv tso zis

Txhawm rau qhia cov qauv tso tawm los ntawm qhov program siv lub <samp>cim npe.

Cov ntawv no yog tsim los kho raws li cov qauv tso tawm los ntawm lub khoos phis tawj program.
<samp>This text is meant to be treated as sample output from a computer program.</samp>