Lissafi wani muhimmin bangare ne na HTML don nuna bayanai cikin tsari da kuma iya karantawa. HTML yana ba da manyan nau'ikan jeri uku: jerin da ba a ba da oda ba, jerin da aka ba da oda, da lissafin ma'anar.
Lissafin da ba a ba da oda ba(<ul>) suna amfani da takamaiman wuraren harsashi kuma ana nuna su azaman abubuwan da ba a ba da izini ba, yawanci ta amfani da ɗigo baƙar fata. Wannan sanannen zaɓi ne don jera abubuwa waɗanda basa buƙatar takamaiman tsari.
Lissafin da aka yi oda(<ol>) suna amfani da takamaiman lambobi ko alamomi kuma ana nuna su azaman jeri da aka yi oda. Ana amfani da wannan sau da yawa don jera abubuwa cikin takamaiman tsari ko ƙididdige su.
Lissafin ma'anar(<dl>) suna amfani da kalma da nau'i-nau'i kwatance don nuna bayanai. Kowane nau'i-nau'i an rufe shi a cikin alamar <dt>(ma'anar ma'anar) da <dd>(bayanin ma'anar). Wannan wata ingantacciyar hanya ce don nuna halaye ko ma'anoni don takamaiman ra'ayi.
Jerin da ba a ba da oda ba( <ul>
)
- <ul>
Ana amfani da kashi don ƙirƙirar jerin da ba a ba da oda ba.
- Kowane abu a cikin jerin da ba a ba da oda ba an sanya shi cikin wani <li>
abu.
- Lissafin da ba a ba da oda ba yawanci ana nunawa tare da harsashi ko haruffa makamantansu.
<ul>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ul>
Jerin da aka ba da oda( <ol>
)
- <ol>
Ana amfani da kashi don ƙirƙirar jerin oda.
- Kowane abu a cikin jerin oda ana sanya shi a cikin <li>
kashi.
- Lissafin da aka ba da oda yawanci ana nunawa tare da lambobi ko haruffan haruffa.
<ol>
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ol>
Jerin Ma'anar( <dl>
)
- <dl>
Ana amfani da kashi don ƙirƙirar jerin ma'anar.
- Kowane abu a cikin jerin ma'anar ya ƙunshi tags guda biyu <dt>
(ma'anar ma'anar) da <dd>
(bayanin ma'anar).
- <dt>
Tambarin ya ƙunshi ma'anar kalmar ko sifa, yayin da <dd>
alamar ta ƙunshi bayanin ko bayanin wannan mahimmin kalma ko sifa.
<dl>
<dt>Keyword 1</dt>
<dd>Description for Keyword 1</dd>
<dt>Keyword 2</dt>
<dd>Description for Keyword 2</dd>
</dl>
Siffar Nau'in Lissafi( <ul>
da <ol>
)
- Ana amfani da nau'in sifa don ƙididdige salon lambobi na jerin da aka yi oda.
- Darajar nau'in sifa na iya zama "1"(lambobi), "A"(babban haruffa), "a"(ƙananan haruffa), "I"(babban lambobin Roman), ko "i"(ƙananan lambobin Roman) .
<ol type="A">
<li>Item 1</li>
<li>Item 2</li>
<li>Item 3</li>
</ol>
Fara Sifa( <ol>
)
- Ana amfani da sifa ta farawa don tantance ƙimar farawa na lamba a cikin jerin da aka yi oda.
- Darajar sifa ta farko ita ce intiger tabbatacce.
<ol start="5">
<li>Item 5</li>
<li>Item 6</li>
<li>Item 7</li>
</ol>
Siffar Juya( <ol>
)
- Ana amfani da sifa mai jujjuya don nuna jerin da aka ba da oda a juzu'i.
- Lokacin da aka yi amfani da sifa mai juyowa, za a nuna lambar a cikin tsari mai saukowa.
<ol reversed>
<li>Item 3</li>
<li>Item 2</li>
<li>Item 1</li>
</ol>
Waɗannan sifofi da abubuwan suna ba ku damar ƙirƙira da tsara jeri a cikin HTML gwargwadon bukatunku. Kuna iya amfani da su don nuna bayanai a sarari da tsari akan gidan yanar gizon ku.