Computers, Programming
Yuav ua li cas yuav ua rau ib daim ntawv teev nyob rau hauv daim ntawv teev. HTML-phau ntawv rau beginners
Nplooj ntawv Web sites muaj ntau yam - ntxhuav, duab, links, xov xwm ntaub ntawv, cov npe. Ib qho ntawm feem nrov khoom yog cia rau tib daim ntawv teev. Nws yuav pab tau koj npaj ntaub ntawv, thov nws nyob rau hauv ib tug ntau cos thiab to taub daim ntawv no, mus pab txhawb kev xaav. Uas yog vim li cas koj yuav tsum tau paub yuav ua li cas ntawm HTML thiab ua ib daim ntawv teev hom muaj npe. Thiab tseem yuav kawm txog yuav ua li cas teem yuav tsum tau tsis.
hom npe
Yuav pib, xaiv lub ntsiab hom npe, uas peb muaj peev xwm ua hauj lwm. Nws kom, unordered, thiab poob-down npe.
Tus thawj tso cai rau koj mus ntsuas tus txheem nrog cov zauv thiab cov tsiaj ntawv. Qhov thib ob yog cov ib txwm hloov lwm lub tsev ntawm tej yam khoom, cov peb ib tug pub tsuas xaiv los ntawm daim ntawv lub yam khoom.
Yuav luag txhua txhua ib ntawm lawv tej zaum yuav muaj ib daim ntawv teev ntawm daim ntawv teev. HTML tso cai rau koj mus tau yooj yim tsim txoj npe ntawm tej yam lus qhia nyob rau hauv ib tug heev luv luv lub sij hawm.
Ua ntej ntawm tag nrho cov, txiav txim siab uas lub npe koj xav tau, thiab ces npaj mus rau tsim nws. Hauv qab no peb saib tag nrho peb cov hom ntawm cov npe, thiab paub tias xyov yuav ua li cas rau tsim lawv, thiab seb lawv muaj.
kom daim ntawv teev
Cia peb pib nrog rau feem ntau siv thiab cov npe - kom. Nyob rau hauv cov ntaub ntawv no, cov kev hloov ntawm tej ntaub ntawv mus nyob rau hauv ib tug txog kev txiav txim, thiab txhua tus ntawm lub ntsiab suav. Piv txwv li, cov chav kawm ntawv daim ntawv teev:
- Ivanov.
- Petrov.
- Sidorov kuv T. P.
Yog muab ib tug xws li daim ntawv teev los ntawm txoj kev ua khub cim npe
- thiab ol>. Nws pib nrog ib tug qhib tag
- thiab xaus nrog ib tug kaw li>.
Tam sim no uas koj paub yuav ua li cas yuav ua rau ib tug HTML daim ntawv teev. Raws li koj tau pom, nws yog txaus yuav tsum nco ntsoov tsuas yog ob tug tag.
Ib me ntsis txog qhov tsis muaj tus tag
- - hom thiab pib.
- . Nws muaj lawv raws li ob tug. Tus thawj parameter nqi yuav hloov qhov kev txiav txim ntawm numbering. Thiab nws yuav hloov mus rau lub caij thaum qhov kev xaiv no dua yuav tsis tsum sau npe (los yog mus rau thaum xaus rau tag nrho cov daim ntawv teev).
Qhov thib ob parameter - hom - yuav pab tau kom hloov cov hom ntawm numbering rau cov khoom no. Haum ntau version ntawm ib tug complex daim ntawv teev. Piv txwv li, siv sij hawm ib tug approximate compositions txoj kev npaj :
- Introduction.
- Lub ntsiab yog ib feem.
a) lub tswv yim ntawm lwm leej lwm tus;
c) kuv xav;
c) cov pov thawj. - Lus xaus.
Tsim ib daim ntawv teev nyob rau hauv ib tug HTML daim ntawv teev yog heev yooj yim. Cia li sau ib cov tswv daim ntawv teev, thiab ces teem nyob rau hauv txoj cai qhov chaw nyob rau hauv lub thib ob ntawm lub sub siv ib tug txawv numbering. Ntawm no yog ib qho piv txwv code, raws li nyob rau hauv peb daim ntawv teev:
-
- .
- 1. Introduction li>.
- 2. Lub ntsiab yog ib feem ntawm lub li>.
- Ol hom = «Ib tug»>
- lub tswv yim ntawm lwm leej lwm tus li>.
- kuv lub siab li>.
- pov thawj li>.
- Ol>.
- 3. Xaus li>.
- Ol>.
unordered daim ntawv teev
Qhov thib ob hom ntawm daim ntawv teev - random. Nws tsis, yog hais nyob rau hauv dab tsi txiav txim. Qhov no tej zaum yuav ib daim ntawv teev txog dab tsi koj xav tau - kav khw, qhua, cov phau ntawv, thiab lwm yam ...
Poob lawm daim ntawv siv ib tug khub tag
- thiab ul>. Nyob rau hauv tas li ntawd, txhua yam khoom tshiab pib rau tag nrho cov tib khub tag
- li>.
Nws muaj tsuas yog ib parameter - hom, siv los qhia kom meej hom marker. Lub marker tej zaum yuav ib lub voj voog - ib tug ua tus sau los yog tsis, raws li zoo raws li sau squares. Yog li ntawd, unpainted vajvoog yog teem rau disc, duab ntxoo - voj voog. Lub square yog muab los ntawm square.
Muaj kuj yog ib tug tau los tsim ib daim ntawv teev nyob rau hauv ib tug HTML daim ntawv teev. Rau lub hom phiaj no, raws li nyob rau hauv thawj cov ntaub ntawv, nws yog tsim nyog los tsim ob lub npe, ib tug ntawm uas yog lub ntsiab thib ob - nyiaj ua lag luam.
Lub drop-down daim ntawv teev
Thiab lub xeem hom npe - tus nco-down. Yeej, nws yog siv nrog scripts thiab ua hauj lwm pab los pab kom tus neeg siv yuav xa tej yam lus qhia rau qhov chaw cov tswv los yog ib tug tej kev pab cuam. Piv txwv li npe, los ntawm uas koj yuav tsum tau xaiv lub teb chaws ntawm qhov chaw nyob, qhov chaw ntawm kev tshawb los yog ua hauj lwm, hnub yug, qhov kev luj xyuas ntawm ib tsab xov xwm, thiab thiaj li nyob. D. Nyob rau hauv cov ntaub ntawv no, koj xaiv daim ntawv teev cov khoom koj xav tau ua ntej koj xa cov ntaub ntawv.
Casually hais lub cim npe uas tsim ib tug nco-down daim ntawv teev. HTML tsis muaj tag nrho cov functionality los tsim cov npe. Nco ntsoov tias thaum ua hauj lwm nrog hom lus uas koj yuav tsum paub tsis tau tsuas yog cov qauv rau kev markup cov nplooj ntawv, tab sis kuj muaj kev to taub ntawm CSS yeej thiab java-scripts.
Daim ntawv nws tus kheej yog txhais los ntawm ib tug khub ntawm cim npe
xaiv>. Txhua yam khoom tshiab pib nrog cov khub tag
kev xaiv>. Yog hais tias koj txiav txim siab los mus tsim rau lawv lub website ib daim ntawv teev, peb pom zoo kom hais tias koj nrhiav tau tshwj xeeb add-ons rau koj engine. Nrog nws pab tsim ib tug nco-down daim ntawv teev yog yooj yim npaum li sau ntawv rau koj tus kheej.
tshawb pom
Ib qho ntawm feem siv hais rau nplooj ntawv Web site - npe. Sau lawv heev, siv tsuas yog ib tug ob peb cim npe uas muaj tej yam yooj yim tsis. koj yuav ua tau ib daim ntawv teev nyob rau hauv daim ntawv teev, yog tias qhov kev kawm. HTML-markup tso cai rau koj los mus tsim nws nyob rau hauv cia li ib tug ob peb feeb.
Tus thawj qhia txog lub hom numbering - alphabetic los yog numeric. Nws yuav siv sij hawm xws tsis: A, ib tug, kuv, kuv, 1.
Thawj ob qhov tseem ceeb teev cov numbering ntawm lub Latin tsiaj ntawv - loj thiab lowercase, lub thib ob - loj thiab me me Roman numerals, lub tom kawg tus nqi yog siv hais tias koj xav rau hauv daim ntawv raug suav nyob rau hauv Arabic numerals.
Nws yog ib nqi sau cia hais tias nyob rau hauv lub neej ntawd daim ntawv teev numbering yog yeej ib txwm muab los ntawm cov Arabic numerals.
Qhov thib ob xaiv - pib - teev tus xov tooj uas pib hauv daim ntawv teev numbering.
Kuv kuj yuav hais tias ib tug ob peb lo lus hais txog qhov tsis muaj tus tag
- . Nws muaj lawv raws li ob tug. Tus thawj parameter nqi yuav hloov qhov kev txiav txim ntawm numbering. Thiab nws yuav hloov mus rau lub caij thaum qhov kev xaiv no dua yuav tsis tsum sau npe (los yog mus rau thaum xaus rau tag nrho cov daim ntawv teev).
- , thiab xaus nrog lub tag ol>. Txhua yam khoom tshiab nyob rau hauv daim ntawv teev pib nrog cov khub tag
Similar articles
Trending Now