Kodi
Zolemba ndi zitsanzo zowonetsera ma code inline ndi multiline ndi Bootstrap.
Inline kodi
Mangirirani mawu amzere a code ndi <code>
. Onetsetsani kuti mwathawa mabulaketi a HTML.
Mwachitsanzo,
<section>
iyenera kukulungidwa ngati inline.
Kodi midadada
Gwiritsani ntchito <pre>
s pamizere ingapo yamakhodi. Apanso, onetsetsani kuti mwathawa mabulaketi aliwonse mu code kuti mumasulire bwino. Mutha kuwonjezera .pre-scrollable
kalasi, yomwe ingakhazikitse kutalika kwa 340px ndikupereka y-axis scrollbar.
<p>Sample text here...</p>
<p>And another line of sample text here...</p>
Zosintha
Kuti muwonetse zosinthika gwiritsani ntchito <var>
tag.
y =
mx
+
b _
Zolemba za ogwiritsa
Gwiritsani ntchito <kbd>
kuwonetsa zolowetsa zomwe nthawi zambiri zimalowetsedwa kudzera pa kiyibodi.
Kusintha maulalo, lembani
cdndikutsatiridwa ndi dzina lachikwatu.
Kuti musinthe makonda, dinani ctrl + ,
Kuti musinthe makonda, dinani ctrl + ,
Zitsanzo zotuluka
Kuti muwonetse zitsanzo kuchokera ku pulogalamu gwiritsani ntchito <samp>
tag.
Mawuwa akuyenera kutengedwa ngati chitsanzo chotuluka pakompyuta.