Dab tsi yog Section hauv HTML?
Dab tsi yog Section hauv HTML?

Video: Dab tsi yog Section hauv HTML?

Video: Dab tsi yog Section hauv HTML?
Video: Leng Yang - Yog Vim Dab Tsi (Official Full Song | Nkauj Tawm Tshiab) 2020/05/24 2024, Kaum ib hlis
Anonim

Tshooj tag txhais cov ntu ntawm cov ntaub ntawv xws li tshooj, headers, footers lossis lwm yam ntu . Cov ntu tag faib cov ntsiab lus rau hauv ntu thiab ntu ntu. Cov ntu tag yog siv thaum xav tau ntawm ob headers lossis footers lossis lwm yam ntu ntawm cov ntaub ntawv xav tau.

Cov lus nug tseem yog, vim li cas peb thiaj siv ntu hauv HTML?

< ntu > HTML Tag The < ntu > element yog structural HTML keeb siv los pab pawg ua ke muaj feem cuam tshuam. Txhua < ntu > feem ntau suav nrog ib lossis ntau lub ntsiab lus thiab cov ntsiab lus ntxiv nthuav qhia txog cov ntsiab lus.

Tsis tas li ntawd, dab tsi yog seem thiab ib sab hauv HTML? Cov HTML < ib sab > element sawv cev ib feem ntawm cov ntaub ntawv uas nws cov ntsiab lus tsuas yog cuam tshuam ncaj qha rau daim ntawv cov ntsiab lus tseem ceeb. Ib sab yog nquag nthuav tawm cov sidebars lossis hu-tawm lub thawv.

Qhov thib ob, tsab xov xwm hauv HTML yog dab tsi?

Cov HTML < tsab xov xwm > Elements sawv cev rau tus kheej muaj nyob rau hauv ib daim ntawv, nplooj ntawv, daim ntawv thov, los yog qhov chaw, uas yog npaj rau nws tus kheej distributable los yog reusable (piv txwv li, nyob rau hauv syndication). Piv txwv li: lub rooj sab laj tshaj tawm, ntawv xov xwm lossis ntawv xov xwm tsab xov xwm , los yog blogentry.

Koj tuaj yeem siv cov ntawv cim npe nyob qhov twg?

Section Tag Syntax Thaum tsim ib < ntu > hauv HTML5, aswhen koj siv lub tag hauv HTML, koj tuaj yeem ua tau siv yog tus id lossis class attributes. Txhua tus ID yuav tsum beunique, xws li hauv HTML, thiab chav kawm tuaj yeem siv ntau zaus thaum tsim nyog. Koj yuav tsum ib txwm muaj lub ntsiab lus header (H1 txog H6) ua ib feem ntawm ntu.

Pom zoo: