HTML cov cim tau muab tso rau hauv nplooj ntawv nplooj, uas tom qab hloov kho los ntawm qhov program (browser) rau hauv lub xaib nplooj interface. Txig rau cov ntawv piav qhia, koj yuav tsum qhib cov ntawv HTML hauv cov ntawv sau thiab nkag mus rau qhov tsim nyog ntawm cov kab ntawv ntawm nplooj ntawv.
Cov Lus Qhia
Kauj ruam 1
Tsim cov ntaub ntawv HTML siv lub system lossis siv cov ntawv twb tau tsim lawm. Txhawm rau ua li no, nyem rau ntawm lub desktop lossis hauv ib kem cais nrog tus nas khawm xis thiab xaiv "Tshiab" - "Cov Ntawv Teev Tseg". Qhia lub npe rau cov ntawv yuav tsum tau tsim, thiab hloov txt tus nqi tom qab lub sijhawm nrog html. Txhawm rau qhib cov ntaub ntawv HTML rau hauv cov ntawv kho, txoj nyem rau nws thiab xaiv "Qhib Nrog". Hauv daim ntawv teev npe ntawm cov ntawv thov uas pom tshwm sim, xaiv cov khoom "Notepad" txhawm rau kho cov lej.
Kauj ruam 2
Tsim nplooj ntawv tsim cov nplooj ntawv siv cov cim npe uas tsim nyog. Sau rau hauv kawg cov ntaub ntawv. Daim pib no yog lub luag haujlwm los txheeb xyuas nplooj ntawv los ntawm qhov browser thiab tag nrho lwm cov ntsiab lus ntawm nplooj ntawv yuav tsum muab ntim nrog nws. Tom ntej no, koj yuav tsum tau qhib seem uas yog lub luag haujlwm rau kev hloov cov headers. Ntawm no tag nrho cov kev pabcuam cov ntaub ntawv hais txog daim ntawv raug tso tawm, tus lej code hauv lwm hom lus tau qhia, CSS style nplooj ntawv tau muab tso rau. Ib qho cim npe yog siv los tsim lub npe ntawm nplooj ntawv kom pom nyob rau sab saum toj ntawm qhov browser qhib.
Kauj ruam 3
Tom qab teev cov ntaub ntawv xav tau thiab kaw, ntu pib, i.e. lub cev ntawm cov nplooj ntawv. Ntawm no, nplooj ntawv cov ntsiab lus tau teev nyob rau hauv cov kev txiav txim ruaj khov, cov ntawv sau muaj kev sib txuam thiab tus so ntawm cov code haum hauv. Nws nyob hauv cov kab ntawv no tias cov ntsiab lus ntawm nplooj ntawv tso tawm hauv qhov browser yog qhia: cov ntawv nyeem, cov kab ntawv sib txuas, duab kos, cov ntsiab lus nquag tsim. Tom qab teev cov npe ntawm cov khoom, nws feem ntau kaw thiab kaw cov ntawv thiab xaus kho kom raug.
Kauj ruam 4
Yog li, cov cim npe tau muab tso rau hauv nplooj ntawv hauv cov txheej txheem hauv qab no:
Nplooj ntawv cov npe
Cov ntawv sau thiab cov ntawv cim a, font, img, cov lus, thiab lwm yam, lub luag haujlwm rau tus tsim cov khoom siv
Kauj ruam 5
Txuag cov kev hloov pauv hauv nplooj ntawv sau siv cov khoom "Cov Ntaub Ntawv" - "Txuag". Nyem rau ntawm cov ntawv nrog lub khawm xis nas thiab qhib cov ntaub ntawv siv koj tus browser siv "Qhib Nrog" cov lus txib. Txheeb xyuas cov khoom ntawm nplooj ntawv. Cov kab ntxig ntawm HTML cov cim rau hauv cov cai tam sim no ua tiav.