Rau txhua qhov chaw, nws cov qauv tsim thiab cov ntsiab lus tseem ceeb. Txhawm rau txuas ob chav ua ke, tus xaib tsim qauv siv txuas. Ib tus neeg siv dog dig nias rau ntawm "Xov Xwm" txuas, thiab tau txais kev nkag mus rau lub xaib nrog xov xwm. Cov Txuas Mus kuj yog cov ncauj lus ntawm kev lag luam hauv Is Taws Nem, tab sis cia peb saib yuav ua li cas los tsim qhov txuas hauv cov ntawv html.
Cov Lus Qhia
Kauj ruam 1
Cim npe raug siv los tsim cov ntsiab lus hauv html lus. Peb tseem yuav siv lawv thaum tsim qhov txuas. Daim pib "a" yog lub luag haujlwm tsim cov ntawv txuas rau ntawm lub xaib. Daim pib no kaw, yog li tsis hnov qab kaw nws tam sim ntawd. Nruab nrab ntawm cov cim npe, koj tuaj yeem sau lub npe ntawm qhov txuas.
Kauj ruam 2
Qhov uas yuav tsum tau ua los ntawm lub cim "a" yog "href". Nws ib txwm sau tseg. Nws yog lub luag haujlwm rau qhov chaw nyob ntawm daim ntawv uas qhov txuas txuas yuav taw tes. Txhawm rau ua qhov no, peb muab cov nqi chaw nyob rau tus cwj pwm (href = "link_address").
Kauj ruam 3
Tam sim no koj yuav tsum tau muab qhov chaw nyob raws li qhov uas nws taw rau. Yog tias qhov chaw nyob yuav taw rau lwm qhov chaw, ces nws yog qhov yuav tsum tau sau npe tag nrho txoj kev mus rau cov khoom siv lossis cov ntaub ntawv uas nyob rau ntawd. Tab sis yog tias cov nplooj ntawv lossis cov ntawv sau rau ntawm koj tus kheej lub xaib, ces peb tsuas sau lub npe ntawm nplooj ntawv. Yog tias tsim nyog, koj tuaj yeem tso tus cim rau tus cim uas txuas yuav xa mus rau. Piv txwv li, koj tuaj yeem ua qhov txuas uas, thaum nias, yuav xa tus neeg siv los ntawm qhov kawg ntawm daim ntawv mus rau thaum pib. Lawv feem ntau hu ua "up". Txhawm rau ua qhov no, muab "tus neeg sab saum toj" cim rau "lub cev" lossis (id = "saum"). Tom qab ntawd, peb muab cov nqi ntawm "href" ntaus nqi rau tus nqi "#top". Tam sim no thaum nyem rau ntawm qhov txuas no, tus neeg siv yuav raug coj mus rau sab saum toj ntawm nplooj ntawv.
Kauj ruam 4
Los ntawm lub neej ntawd, thaum koj nyem qhov txuas, nplooj ntawv yuav qhib hauv tib lub qhov rais. Txhawm rau qhov txuas mus qhib rau hauv lub qhov rai tshiab, koj yuav tsum qhia tus cwj pwm "phiaj". Cia peb muab nws tus nqi "_blank". Qhov kev txuas tam sim no yuav qhib rau hauv lub qhov rai tshiab. Lub "_self" tus cwj pwm yuav rov qab qhib thawj zaug qhib ntawm qhov txuas hauv tib lub qhov rais.