• Tso cai HTML tags:

    Qhov chaw no tso cai rau cov ntsiab lus HTML. Thaum kawm tag nrho cov HTML yuav xav tias ntshai, kev kawm siv tsawg tsawg ntawm HTML "tags" yooj yim heev. Cov lus no muab piv txwv rau txhua lub cim uas tau qhib rau ntawm lub xaib no.

    Yog xav paub ntxiv, saib HTML nyob Standard lossis siv koj lub tshuab tshawb nrhiav uas koj nyiam mus nrhiav lwm qhov chaw uas piav qhia HTML.

    Tag DescriptionKoj ntausKoj Tau
    Anchors yog siv los ua txuas mus rau lwm nplooj ntawv.<a href="https://www.quantumrun.com">Quantumrun</a>Quantumrun
    Ua kom pom tseeb<em>Emphasized</em>Ua kom pom tseeb
    muaj zog<strong>Strong</strong>muaj zog
    Hais<cite>Cited</cite>Hais
    Thaiv hais<blockquote>Block quoted</blockquote>
    Thaiv hais
    Coded ntawv siv los qhia qhov programming qhov chaws<code>Coded</code>Coded
    Unordered daim ntawv - siv lub pib txhua yam khoom<ul> <li>First item</li> <li>Second item</li> </ul>
    • Thawj yam khoom
    • Yam khoom thib ob
    Ordered list - siv lub pib txhua yam khoom<ol> <li>First item</li> <li>Second item</li> </ol>
    1. Thawj yam khoom
    2. Yam khoom thib ob
    Tsis muaj kev pab rau tag li.
    Cov npe txhais tau zoo ib yam li lwm cov npe HTML. pib lub npe txhais, pib lub ntsiab txhais thiab pib lub ntsiab lus piav qhia.<dl> <dt>First term</dt> <dd>First definition</dd> <dt>Second term</dt> <dd>Second definition</dd> </dl>
    Thawj zaug
    Thawj txhais
    Lub sij hawm thib ob
    Thib ob txhais
    Tsis muaj kev pab rau tag dt.
    Tsis muaj kev pab rau tag dd.
    nqe lus hais txog<h2>Subtitle</h2>

    Subtitle

    nqe lus hais txog<h3>Subtitle three</h3>

    Subtitle peb

    nqe lus hais txog<h4>Subtitle four</h4>

    Subtitle plaub

    nqe lus hais txog<h5>Subtitle five</h5>
    Subtitle tsib
    nqe lus hais txog<h6>Subtitle six</h6>
    Subtitle rau
    Tsis muaj kev pab rau tag s.
    Superscripted<sup>Super</sup>scriptedzoosau tau
    Subscripted<sub>Sub</sub>scriptedsubsau tau
    Tsis muaj kev pab rau tag IMG.
    rooj<table> <tr><th>Table header</th></tr> <tr><td>Table cell</td></tr> </table>
    Rooj header
    Rooj cell
    Tsis muaj kev pab rau tag Npe duab.
    Tsis muaj kev pab rau tag tbody.
    Tsis muaj kev pab rau tag thead.
    Tsis muaj kev pab rau tag tfoot ua.
    Tsis muaj kev pab rau tag th.
    Tsis muaj kev pab rau tag td.
    Tsis muaj kev pab rau tag tr.
    Tsis muaj kev pab rau tag hr.
    Los ntawm lub neej ntawd kab lus cim npe tau muab ntxiv, yog li siv daim ntawv no ntxiv rau ntxiv.<p>Paragraph one.</p> <p>Paragraph two.</p>

    Nqe lus ib.

    Nqe ob.

    nqe lus hais txog<h1>Title</h1>

    Title

    Preformatted<pre>Preformatted</pre>
    Preformatted

    Feem ntau cov cim txawv txawv tuaj yeem nkag ncaj qha yam tsis muaj teeb meem.

    Yog tias koj ntsib teeb meem, sim siv cov cim HTML. Ib qho piv txwv zoo li & rau ib qho ampersand & cim. Rau tag nrho cov npe ntawm cov chaw saib HTML's cov chaw nplooj. Qee cov cim muaj xws li:

    Yam ntxwv piav qhiaKoj ntausKoj Tau
    Ampersand&amp;&
    Ntau dua&gt;>
    Tsawg tshaj&lt;<
    Lus cim&quot;"
  • Cov nplooj ntawv nplooj ntawv chaw nyob thiab email chaw nyob tig mus rau hauv cov ntawv txuas tau.
  • Koj tuaj yeem kho cov duab, yeeb yaj kiab, blockquotes thiab lwm yam rau sab laug, sab xis lossis qhov nruab nrab. Piv txwv:

    • Teem ib daim duab rau sab laug: <img src="" data-align="left" />
    • Teem ib daim duab rau hauv nruab nrab: <img src="" data-align="center" />
    • Teem ib daim duab rau sab xis: <img src="" data-align="right" />
    • ... thiab koj tuaj yeem siv qhov no rau lwm cov ntsiab lus thiab: <video src="" data-align="center" />
  • Koj tuaj yeem sau cov duab, yeeb yaj kiab, blockquotes, thiab lwm yam. Piv txwv:

    • <img src="" data-caption="This is a caption" />
    • <video src="" data-caption="The Drupal Dance" />
    • <blockquote data-caption="Dries Buytaert">Drupal is awesome!</blockquote>
    • <code data-caption="Hello world in JavaScript.">alert("Hello world!");</code>
  • Tso cai HTML tags:

    Qhov chaw no tso cai rau cov ntsiab lus HTML. Thaum kawm tag nrho cov HTML yuav xav tias ntshai, kev kawm siv tsawg tsawg ntawm HTML "tags" yooj yim heev. Cov lus no muab piv txwv rau txhua lub cim uas tau qhib rau ntawm lub xaib no.

    Yog xav paub ntxiv, saib HTML nyob Standard lossis siv koj lub tshuab tshawb nrhiav uas koj nyiam mus nrhiav lwm qhov chaw uas piav qhia HTML.

    Tag DescriptionKoj ntausKoj Tau
    Anchors yog siv los ua txuas mus rau lwm nplooj ntawv.<a href="https://www.quantumrun.com">Quantumrun</a>Quantumrun
    Ua kom pom tseeb<em>Emphasized</em>Ua kom pom tseeb
    muaj zog<strong>Strong</strong>muaj zog
    Hais<cite>Cited</cite>Hais
    Thaiv hais<blockquote>Block quoted</blockquote>
    Thaiv hais
    Coded ntawv siv los qhia qhov programming qhov chaws<code>Coded</code>Coded
    Unordered daim ntawv - siv lub pib txhua yam khoom<ul> <li>First item</li> <li>Second item</li> </ul>
    • Thawj yam khoom
    • Yam khoom thib ob
    Ordered list - siv lub pib txhua yam khoom<ol> <li>First item</li> <li>Second item</li> </ol>
    1. Thawj yam khoom
    2. Yam khoom thib ob
    Tsis muaj kev pab rau tag li.
    Cov npe txhais tau zoo ib yam li lwm cov npe HTML. pib lub npe txhais, pib lub ntsiab txhais thiab pib lub ntsiab lus piav qhia.<dl> <dt>First term</dt> <dd>First definition</dd> <dt>Second term</dt> <dd>Second definition</dd> </dl>
    Thawj zaug
    Thawj txhais
    Lub sij hawm thib ob
    Thib ob txhais
    Tsis muaj kev pab rau tag dt.
    Tsis muaj kev pab rau tag dd.
    nqe lus hais txog<h2>Subtitle</h2>

    Subtitle

    nqe lus hais txog<h3>Subtitle three</h3>

    Subtitle peb

    nqe lus hais txog<h4>Subtitle four</h4>

    Subtitle plaub

    nqe lus hais txog<h5>Subtitle five</h5>
    Subtitle tsib
    nqe lus hais txog<h6>Subtitle six</h6>
    Subtitle rau

    Feem ntau cov cim txawv txawv tuaj yeem nkag ncaj qha yam tsis muaj teeb meem.

    Yog tias koj ntsib teeb meem, sim siv cov cim HTML. Ib qho piv txwv zoo li & rau ib qho ampersand & cim. Rau tag nrho cov npe ntawm cov chaw saib HTML's cov chaw nplooj. Qee cov cim muaj xws li:

    Yam ntxwv piav qhiaKoj ntausKoj Tau
    Ampersand&amp;&
    Ntau dua&gt;>
    Tsawg tshaj&lt;<
    Lus cim&quot;"
  • Kab thiab kab lus yuav raug lees paub. Cov kab tawg, kab lus thiab kaw kab ntawv cim npe tau muab tso tseg. Yog tias cov kab lus tsis raug lees paub tsuas yog ntxiv ob peb kab dawb xwb.
  • Cov nplooj ntawv nplooj ntawv chaw nyob thiab email chaw nyob tig mus rau hauv cov ntawv txuas tau.
  • Tsis pub HTML tags.
  • Kab thiab kab lus yuav raug lees paub. Cov kab tawg, kab lus thiab kaw kab ntawv cim npe tau muab tso tseg. Yog tias cov kab lus tsis raug lees paub tsuas yog ntxiv ob peb kab dawb xwb.
  • Cov nplooj ntawv nplooj ntawv chaw nyob thiab email chaw nyob tig mus rau hauv cov ntawv txuas tau.