Tam sim no, muaj koj tus kheej lub vev xaib tsis yog khoom kim heev, tab sis, theej yog yam uas xav tau. Nws tsim xav tau qee yam kev txawj ntse thiab kev paub ntawm html. Kev tsim lub vev xaib yooj yim yog qhov yooj yim zoo nkauj. Txawm li cas los xij, kho kom zoo nkauj nws thiab tsim cov ntsiab lus sib tham uas muab haujlwm ntxiv rau lub xaib yuav ua teeb meem rau tus pib. Ib qho ntawm cov kev sib tham sib txuam uas txhim kho qhov yooj yim ntawm cov neeg tuaj saib lub tsev yog qhov bar ntu. Nws yog qhov tshwj xeeb hauv cov tswv yim ntawm lub xaib, uas muab nws cov kev txuas nrog cov ntawv sau (kev cuam tshuam ntawm lub xaib nrog cov neeg siv).
Nws yog qhov tsim nyog
Internet lossis kev qhia html
Cov Lus Qhia
Kauj ruam 1
Qhov tseem ceeb tshaj plaws rau txhua tus xaib yog kev ua phooj ywg zoo rau cov neeg siv. Lub tswv yim ntau ntawm kev siv scrollbar ntawm koj lub xaib yuav tsim nyog nkaus xwb yog tias nws cov tsos yog dictated tsis yog raws li koj lub siab nyiam, tab sis los ntawm nws qhov tsim nyog. Ua rau kab ntawv ntawm nplooj ntawv koj xav tso rau saum pob. Xaiv ib qho chaw rau cov seem (tseem hu ua cov khoom seem pob).
Kauj ruam 2
Xaiv ib qho chaw nyob rau ntawm kab ntawv scroll ntawm nplooj ntawv ntawm lub vev xaib uas koj xav paub. Nws yuav tsum tau nruj me ntsis txuas rau qee lub hauv paus (piv txwv li, cov kab ntawv hauv cov ntawv sau lossis cov kab ntawv poob qis). Koj yuav tsum xam qhov chaw no ua pixels lossis feem pua. Qhov no tsis yog qhov nyuaj ua, tshwj xeeb tshaj yog yog hais tias tus xaib ntawm kev teeb tsa muaj tus qauv qhia meej.
Kauj ruam 3
Nruab nrab ntawm lub BODY tags koj yuav tsum tau ntxiv cov lej scrolling code. Koj tuaj yeem nrhiav nws hauv cov qhia html. Muaj ob txoj hauv kev - ntxiv rau qhov snippet no ncaj qha rau html code ntawm nplooj ntawv, lossis muab nws tso rau hauv css stylesheet. Qhov txheej txheem thib ob yooj yim dua yog tias koj hloov ntau dua ib nplooj ntawv, tab sis tus xaib txhua lub sijhawm. Tom qab ntawd koj yuav tsum nkag mus rau cov xim tsis tseem ceeb ntawm cov kab ntawv saib, txwv tsis pub nws yuav grey thiab tsis nyiam. Daim duab qhia tau pom thiab sau npe rau hauv cov seem. Cov tsis yuav tsum tau nkag mus rau tib txoj kev raws li qhia hauv daim duab, sib cais los ntawm semicolons.
Kauj ruam 4
Tam sim no koj yuav tsum twv yuav raug kuaj koj qhov kev hloov kho. Yuav ua kom cov scrollbar zoo tib yam hauv txhua browsers, tshawb xyuas nws ntawm qhov tseem ceeb - Internet Explorer, Mozilla Firefox thiab Opera. Yog tias nws tsis ua haujlwm ntawm ib qho ntawm lawv, rov qab mus rau thawj kauj ruam thiab kho qhov tsis raug.