Nws yooj yim heev thaum lub cheeb tsam ntawm cov nquag txuas tsis yog ntawv, tab sis yog cov duab. Cov HTML markup lus yog heev muaj peev xwm ntawm no. Txhua yam uas xav tau rau qhov no yog los ua ke cov ntawv cim tshwj xeeb.
Cov Lus Qhia
Kauj ruam 1
Yog tias txhua cov ntaub ntawv ntawm tus neeg rau zaub mov raug khaws cia rau hauv ib qho nplaub tshev, tom qab ntawd sau cov HTML-code hauv qab ntawm nplooj ntawv:
HA href=page.html >> Nyem rau ntawm qhov txuas no yuav coj koj mus rau lwm nplooj ntawv tom qab xaib ‹/a>
Kauj ruam 2
Kawm yuav ua li cas rau embed txuas rau cov nplooj ntawv hauv zos nyob ntawm cov chaw thib peb hauv koj HTML:
HA href="https://server.domain/folder/page.html >> Nyem ntawm qhov txuas no yuav coj koj mus rau nplooj ntawv nyob ntawm lub xaib sib txawv kiag li ‹/a >>
Kauj ruam 3
Tam sim no, txheeb xyuas seb yuav sau cov duab rau hauv nplooj ntawv twg khaws cia rau tib tus neeg rau zaub mov xaib raws li lub xaib, qhia tias txhua cov ntaub ntawv ntawm tus neeg rau zaub mov ntawd muab cia rau hauv cov ntawv qhia tawm:
‹Img src = filename.jpg›
Kauj ruam 4
Tib txoj kev, ntxig cov duab khaws cia ntawm cov neeg thib peb rau hauv nplooj ntawv:
‹Img src =
Nco ntsoov tias, txawm li cas los xij, qee cov servers tsis tso cai tso duab rau hauv nplooj ntawv sab nraud, qhia cov ntxaij vab tshaus ceeb toom siv, lossis tsis muaj dab tsi tshwm sim. Hauv cov xwm txheej zoo li no, tsis txhob theej daim duab mus rau ib tus neeg siv khoom hauv ib cheeb tsam - nws yuav yog qhov ua txhaum cai kev cai lij choj. Nws yog qhov zoo dua los muab qhov txuas rau daim duab no.
Kauj ruam 5
Txhawm rau nyem rau ntawm daim duab ua raws cov txuas, ua ke cov cim npe no raws li hauv qab no:
HA href="https://server.domain/folder/page.html >> ‹img src = duab.jpg› ‹/a>
Yog tias xav tau, hloov hauv qhov kev tsim kho no lub ntiaj teb txuas mus rau nplooj ntawv nrog rau hauv zos, lossis, hloov dua tshiab, lub hauv zos txuas rau cov duab nrog rau lub ntiaj teb.
Kauj Ruam 6
Thaum kawg, yog tias koj xav tau qhov txuas txuas ntxiv los ntawm nyem rau ntawm ob daim duab thiab cov ntawv sau hauv qab nws, siv qhov kev tsim kho zoo dua li qhov no:
HA href="http: https://server.domain/folder/page.html >> ‹img src = duab.jpg› Koj yuav raug xa rov mus rau lwm nplooj ntawv txawm koj yuav nyem rau kab ntawv no lossis rau ib qho sab saud daim duab. Qhov tshwm sim yuav zoo tib yam nkaus.