Cov txheej txheem:

Yuav Ua Li Cas Tsim Lub Vev Xaib Yooj Yim Siv Cov Khawm rau Cov Pib: 14 Cov Kauj Ruam
Yuav Ua Li Cas Tsim Lub Vev Xaib Yooj Yim Siv Cov Khawm rau Cov Pib: 14 Cov Kauj Ruam

Video: Yuav Ua Li Cas Tsim Lub Vev Xaib Yooj Yim Siv Cov Khawm rau Cov Pib: 14 Cov Kauj Ruam

Video: Yuav Ua Li Cas Tsim Lub Vev Xaib Yooj Yim Siv Cov Khawm rau Cov Pib: 14 Cov Kauj Ruam
Video: Saib Mis paub Poj niam (hluas nkauj) tus yam ntxwv lub siab 2024, Kaum ib hlis
Anonim
Yuav Ua Li Cas Tsim Lub Vev Xaib Yooj Yim Siv Cov Khawm rau Cov Pib
Yuav Ua Li Cas Tsim Lub Vev Xaib Yooj Yim Siv Cov Khawm rau Cov Pib

Taw qhia

Cov lus qhia hauv qab no muab cov lus qhia ib kauj ruam los ua lub vev xaib siv Brackets. Cov kab ntawv yog qhov hloov kho qhov chaws nrog thawj qhov tseem ceeb ntawm kev txhim kho lub vev xaib. Tsim los ntawm Adobe Systems, nws yog dawb thiab qhib qhov software tau ntawv tso cai raws li MIT Daim Ntawv Tso Cai, thiab tam sim no tau tswj hwm ntawm GitHub los ntawm Adobe thiab lwm tus tsim tawm qhib. Nws tau sau hauv JavaScript, HTML thiab CSS.

Cov lus qhia

Nco tseg: - Txhua daim ntawv cim HTML yuav tsum nyob nruab nrab ntawm cov kab ke:

Kauj ruam 1: Rub tawm Software

Rub tawm Software
Rub tawm Software

rub cov kab ntawv los ntawm lub vev xaib no

Kauj Ruam 2: Qhib Cov Qhib

Qhib Qhib
Qhib Qhib

qhib rub tawm Brackets software ntawm lub khoos phis tawj.

Kauj Ruam 3: Tsim Cov Ntawv Tshiab

Tsim Cov Ntawv Tshiab
Tsim Cov Ntawv Tshiab

Tom qab qhib Brackets, Nyem rau ntawm kab ntawv icon nyob rau sab laug sab saum toj ntawm lub qhov rais, tom qab ntawd nyem tshiab, koj yuav pom cov ntawv tshiab "Tsis muaj npe".

Kauj Ruam 4: Txuag Raws Li.. Cov Ntaub Ntawv

Txuag As.. Cov Ntaub Ntawv
Txuag As.. Cov Ntaub Ntawv

Txoj cai nyem rau ntawm cov ntaub ntawv no 'tsis muaj npe', nyem txuag li, tom qab ntawd koj yuav tsum khaws nws ntawm tus tsav

ntawm qhov no koj tuaj yeem muab lub npe rau cov ntawv, tsuas yog xyuas kom meej tom qab lub npe ntxiv ".html" (dot html).

Kauj Ruam 5: Pib Nrog DOCTYPE Tag

Pib Nrog DOCTYPE Tag
Pib Nrog DOCTYPE Tag

Txhua nplooj ntawv html yuav tsum pib nrog cov qauv hauv qab no Nws qhia rau lub browser dab tsi 'cov cai kom ua raws' thaum ua ib nplooj ntawv HTML.

Kauj ruam 6: HTML Tag

HTML Tag
HTML Tag

thiab - cov cim npe no yog pib thiab xaus daim ntawv.

Kauj Ruam 7: Lub taub hau thiab Lub Cev Cim

Lub taub hau thiab Lub Cev Cim
Lub taub hau thiab Lub Cev Cim

Hauv nruab nrab ntawm cov cim html, sau thiab, qhov twg nws muaj cov khoom 'nyob tom qab'. Tsis tas li, sau thiab qhov twg nws muaj cov ntawv, duab, vis dis aus, suab thiab lwm yam.

Kauj Ruam 8: Meta Tag

Meta Tag
Meta Tag

Hauv nruab nrab ntawm cov ntawv cim, sau qhov twg nws muab cov ntaub ntawv xws li cov ntsiab lus tshawb fawb lossis cim tus cim.

Kauj Ruam 9: Title Tag

Title Tag
Title Tag

Hauv nruab nrab ntawm cov cim npe, hauv qab, sau thiab. Yog li, txhua yam koj sau hauv nruab nrab, koj yuav pom nws nyob rau sab saum toj ntawm qhov browser thiab qhov cim npe no tseem ceeb heev rau kev tshawb fawb cav. Piv txwv li, Kuv yuav sau "WRD 204"

Kauj Ruam 10: Ntxiv Kab Lus Siv P Tag

Ntxiv Kab Lus Siv P Tag
Ntxiv Kab Lus Siv P Tag

Hauv nruab nrab ntawm kev sau cov ntaub ntawv twg koj xav kom pom ntawm lub vev xaib, zoo li daim duab, suab, yeeb yaj kiab thiab kab lus piv txwv, piv txwv li kuv yuav sau kab lus los ntawm kev siv cov cim no rau kab lus:

thiab.

Kauj Ruam 11: Saib Koj Cov Ntsiab Lus

Saib Koj Cov Ntsiab Lus
Saib Koj Cov Ntsiab Lus
Saib Koj Cov Ntsiab Lus
Saib Koj Cov Ntsiab Lus

Txhawm rau pom koj cov txiaj ntsig: thawj zaug nyem rau ntawm cov ntaub ntawv thiab nyem "txuag" dua li nyem rau ntawm "nyob ua ntej" lub cim nyob rau sab xis saum toj.

Nco tseg: - txhua lub sijhawm koj hloov pauv thiab koj xav pom qhov tshwm sim, ua ntej, koj yuav tsum khaws cov ntawv, koj tuaj yeem siv luv "Ctrl + S"

Kauj Ruam 12: Hloov Cov Qauv

Hloov Cov Qauv
Hloov Cov Qauv
Hloov Cov Qauv
Hloov Cov Qauv

Yog tias koj xav hloov qhov loj me ntawm cov ntawv nyeem, siv lub npe loj tshaj oris qhov tsawg tshaj plaws. Hauv kuv qhov piv txwv kuv yuav siv.

Kauj Ruam 13: Ib Leeg/Ob Kab Kab Tag Tag

Ib Leeg/Ob Kab Kab Tua Tag
Ib Leeg/Ob Kab Kab Tua Tag
Ib Leeg/Ob Kab Kab Tua Tag
Ib Leeg/Ob Kab Kab Tua Tag

Yog tias koj xav ua ib zaug/kab ob kab ntawm kab lus, siv tag

Kauj Ruam 14: Xaus

Nrog koj zoo siab! tam sim no koj tuaj yeem pib tsim koj tus kheej lub vev xaib.

Yog tias koj xav paub ntau ntxiv txog HTML Cim, Kuv pom zoo lub vev xaib no

Pom zoo: