Yuav Paub
• Siv cov duab loj ib txwm uas tus browser yuav tsis rov ntsuas dua. Koj tseem yuav xav tau cov duab editor thiab HTML lossis text editor.
• Thaum tso cov duab, ntxiv tus cwj pwm ntxiv txhawm rau txheeb xyuas daim duab qhia kev tswj hwm.
• Piv txwv li:
Kab lus no piav qhia yuav ua li cas los tsim Duab Maps siv HTML cim npe es tsis yog daim duab duab editor. Feem ntau cov duab editors yuav qhia koj cov kev tswj hwm ntawm koj tus nas thaum koj taw tes rau hauv daim duab, uas yog tag nrho cov ntaub ntawv koj xav tau pib nrog cov duab maps.
Creating a Image Map
Txhawm rau tsim daim duab qhia chaw, ua ntej xaiv cov duab uas yuav ua lub hauv paus ntawm daim ntawv qhia. Cov duab yuav tsum yog "qhov loj me" - uas yog, koj yuav tsum tsis txhob siv cov duab loj uas qhov browser yuav ntsuas nws.
Thaum koj ntxig daim duab, koj yuav ntxiv tus cwj pwm ntxiv uas txheeb xyuas daim duab qhia chaw ua haujlwm:
Thaum koj tsim daim duab qhia chaw, koj tab tom tsim thaj chaw uas yog nyem rau ntawm daim duab, yog li daim duab qhia kev tswj hwm yuav tsum kab nrog qhov siab thiab dav ntawm daim duab koj xaiv. Maps txhawb peb hom sib txawv:
- rect-ib daim duab plaub lossis plaub-sided daim duab
- poly-a polygon lossis ntau daim duab
- circle-ib lub voj voog
Yuav tsim cov cheeb tsam, koj yuav tsum cais cov kev tswj xyuas tshwj xeeb uas koj npaj siab los ua daim ntawv qhia. Daim duab qhia chaw yuav muaj ib lossis ntau qhov chaw nyob ntawm daim duab uas, thaum nias, qhib qhov txuas tshiab.
Rau ib daim duab plaub, koj daim ntawv qhia tsuas yog cov ces kaum sab laug thiab hauv qab. Tag nrho cov kev tswj xyuas tau teev tseg raws li x, y (dhau, nce). Yog li, rau lub kaum sab xis saum toj kawg nkaus 0, 0 thiab sab xis kaum sab xis 10, 15 koj yuav ntaus 0, 0, 10, 15. Tom qab ntawd koj muab tso rau hauv daim ntawv qhia:
Rau ib lub polygon, koj daim duab qhia txhua x, y sib koom ua ke. Lub Web browser cia li txuas cov txheej txheem kawg ntawm kev tswj hwm nrog thawj zaug; txhua yam hauv cov kev tswj xyuas no yog ib feem ntawm daim ntawv qhia.
Cov duab vajvoog tsuas yog xav tau ob qhov kev sib koom ua ke, zoo li lub duab plaub, tab sis rau qhov kev tswj xyuas thib ob, koj qhia lub vojvoog lossis qhov nrug ntawm qhov nruab nrab ntawm lub voj voog. Yog li, rau lub voj voog nrog qhov chaw ntawm 122, 122 thiab lub vojvoog ntawm 5 koj yuav sau 122, 122, 5:
Txhua qhov chaw thiab cov duab tuaj yeem suav nrog hauv tib daim ntawv qhia:
Kev txiav txim siab
daim duab duab tau ntau dua nyob rau hauv Web 1.0 era ntawm 1990s mus rau thaum ntxov 2000s-daim duab qhia chaw feem ntau tsim lub hauv paus ntawm lub vev xaib navigation. Tus neeg tsim qauv yuav tsim ib co duab los qhia cov khoom noj khoom haus, ces teem ib daim ntawv qhia.
Cov kev niaj hnub niaj hnub txhawb kev tsim qauv tsim thiab siv cov ntawv cascading style los tswj kev tso cov duab thiab cov ntawv txuas rau ntawm nplooj ntawv.
Txawm hais tias daim ntawv qhia daim ntawv qhia tseem muaj kev txhawb nqa hauv HTML tus qauv, kev siv cov khoom siv txawb nrog cov qauv me me tuaj yeem ua rau muaj teeb meem kev ua haujlwm tsis txaus ntseeg nrog daim duab qhia chaw. Tsis tas li ntawd, cov teeb meem bandwidth lossis cov duab tawg tau pom tus nqi ntawm daim duab qhia chaw.
Yog li, xav kom siv qhov ruaj khov no, nkag siab zoo siv thev naus laus zis-paub tias muaj cov kev hloov pauv tau zoo dua tam sim no hauv vogue nrog Web designers.