Kev siv keeb kwm yav dhau yog dab tsi?
Kev siv keeb kwm yav dhau yog dab tsi?

Video: Kev siv keeb kwm yav dhau yog dab tsi?

Video: Kev siv keeb kwm yav dhau yog dab tsi?
Video: zoo nyob tag npaum no xoom ceev2 kom phev los tso mam saib seb yog leej twg 2024, Kaum ib hlis
Anonim

Cov keeb kwm yav dhau kuj tseem siv tau los tswj cov keeb kwm ntawm cov ntsiab lus HTML, tshwj xeeb yog pagebody thiab cov lus keeb kwm . Koj tuaj yeem teev ib daim duab los teeb keeb kwm ntawm koj nplooj ntawv HTML lossis lub rooj. Lus Cim - Cov keeb kwm yav dhau deprecated hauv HTML5. Tsis txhob siv qhov no tus cwj pwm.

Ib yam li ntawd, nws tau nug, kev siv bgcolor tus cwj pwm yog dab tsi?

Cov bgcolor tus cwj pwm yog siv teem lub xim tom qab ntawm HTML element. Bgcolor yog ib tug ntawm cov yam ntxwv uas tau dhau los ua tsis pom zoo nrog kev siv cov Cascading Style Sheets (saib CSSBackgrounds).

Ib sab saum toj no, dab tsi yog cov cuab yeej keeb kwm yav dhau hauv CSS? Tag nrho CSS Background Properties

Khoom Kev piav qhia
tom qab-xim Teem xim tom qab ntawm ib lub caij
keeb kwm-duab Teem cov duab tom qab rau ib lub caij
keeb kwm- keeb kwm Qhia meej qhov twg cov duab tom qab yog / nyob
keeb kwm-txoj hauj lwm Teem txoj haujlwm pib ntawm daim duab tom qab

Kuj kom paub, lub cev keeb kwm yav dhau hauv HTML yog dab tsi?

Lub cev tom qab Yam ntxwv. Yog koj xav ntxiv a keeb kwm duab tsis yog xim, ib qho kev daws teeb meem yog < lub cev tom qab > attribute. Nws qhia tias a keeb kwm duab rau ib HTML ntaub ntawv. Syntax: < lub cev tom qab ="URL">

Muaj pes tsawg tus keeb kwm yav dhau muaj thiab lawv yog dab tsi?

keeb kwm yog ua los ntawm yim lwm yam khoom : keeb kwm - duab. keeb kwm - txoj hauj lwm. keeb kwm - qhov loj.

Pom zoo: