You are on page 1of 9

KARPPGAM TNSTITUTE OF

TECHNOlcGy
AsstGNMENT- 1

NAME: SRI SATHYAS

REG No: 72120205053

SoB : tweB TeCHNOLOGy

BRANCH TNFRMATTON TECHNolDEy.


SUBcoDE: IT85ot
DATE Ot.to.29
PART B
2 C Ss
Selectos«s:

Stmple selectos sor

The SPmple Selectos a sRgle


elemu to dich tRe
PTOpot ound Vouue OFpRed
oe Can
appl Poopot ond value to

oup of elements.

Fotlousi ng s
Pllusterotron
oT
e 2 DoCTypE kttmi>
htMt
h e ad

CEtte Selo o asu (+'tles

B fte +ype tont lcse

Colo n

2lstyle>
el head
zbody
l Tofa Coudy lht
eltocdy
2html
Selector Jor
22

Inia fe
M Court

class Selectoys:
clax Selectosu oe con Rn

dtfernt &tyes olemet T e fesgot


9n foant LtuuLan(oA O o elewont
Stya Oppeo

! DocryPe htmi
Lhtwls
heads
2hMe cla« seletorelAle

t C oTent
foutfol 9wel!
Cel oni blue

aont-i2o lOP
2tytos
ct head

h t Ctass BuoTemt >A t as0 hlians elhi


l bocy >
elhml
claeSetectox

-A aoe ndion

D selectost:
Ip Con e en to o
Stulas Cloes

Td Con bo u Oin
ITML element. Tie tog a n d

C9lb notton
Syntom
#lAnanmo
Property Molue

Onivessal Sele tton:

to d Con be
Stnilos clags, On

TML elemert tRe faqs OUnd fd COn h

Conbinot on
Syotan:

Propedy: Volue
Atthrs bute Selecton
The lottr? bute) Sele ctos ueed to iele t
elemens Speu atorbude. 7he di.bude
Sele ctos Can be

cRas
Cactan:
-laq lotri bute I
P-epety: Value

tmuoz "volue >.2Ho.

e
fnput Ctye t
wdAa topa

'spta: bto

agrwd- Ualo yellou


npudCtyee -*ton "7
sd oopm
Mas n-tope 2s p
dsplay Lloce 2
Combinator Selectos
Bettae en R iwpe Setectost e Can meudo

a ConnbinatoS h 4 ifescon

d scendont Selo ct a0e


C l d sele ctos
oolfaent iuu selecfa
sjonesal siLtne golee fast
3 Boz Model:
e bon Comes
pictoe hen we put the
Contents witun Some
Tecfan9le. e bon Mod et
TepSents bo cotenmt S, oner ede0, O u e eda,
Mains Poclo nas.
Oudes e
ledtes is TnnemRCa
Boveor

COnto nts

eTYFE hrtml
2html
heads
He Baodor 2 4tfe
2 t e+qp thent cse
h4 hone boo-der- tyto: hon
ha doto bornc ex-&edoed
2 Cey e
lhoed
h 4 t a s - none 7i hone bon 2lh4

eheeloK dot ed "Tis oloded bom 2hdA

elhtal
Bordo

bon

Mang *Paoloiny

Moanu +he pee etuooon


Maa
Content. There Can Be
Coute nt Ound Pts nefghbousing

+op wa n, botto m, eff riguAt osain ente

propes-tag Ma i ng Magin top


Lept mht tRa Vaue Poobouts Can bQ

P R Tn
Nen
egi4! ÞoTyPGe utML
2htt>
ahaad>
H+te Marqin 2+le>

styte tyee Hentlcss


me-naol
bosder -Stta Solid
Masnain - toe opn
MOsan -boto M6om
Mouin te!f 3oPn
Masno v -ig ht Popn .
2 stytes
heod
body
h tfetloa <h 3

lloty
cl hmal

MAnin Deno

teto alf

Pedlirs i
Pal na Meanu Spae betuseen +o Coteds

und RiS baden, Vosuons Proposues e podSMG


Paoldin at, mgw, top,botoM. Those oluea 9vn
En PY o

! DocTy Pe etMLS

2TML

2head
Podding elitlos
titte >

2Stotypo tent (css


Pmethad
bosdor - Sylo: Soltd
paddi n to p 7ot
paddin- botom Sopn

podd'ng e* toopn
poddi Tiad: 6op
lsagtos
Likead
boy>
2 tos, "matloc uflerd elps
em

lbody>
4html>

Paloling

HTet

You might also like