Professional Documents
Culture Documents
Sdedoreopea Nolue : Csemple - Tles
Sdedoreopea Nolue : Csemple - Tles
SEmSTER NI
DATE05-O82021
SUBTECT COMPUTER 31ENCE VII PaGE-OL
SECTION-A
05 CS
Ca scocking ese sheek (Css kona one otthe most akeaesting
(ontepls o HrML t Speute tte sulea fo Csanwsng elements
o a gwn ueb document H no only esdends ts eauis in
Conholirg Colors and Sie dt fonts, bo also COndsos
sates
bekoen Nasous eleens, he tolto 0nd wdth ota ven line el
Thus, CS an USed Ho dele.mine e gyle and
e gES6enaaly, shyle detins e ucay in whith the
ATML elemerds os shoun n ueb
page A slyle an be
oseul he follouwirg fbsmad
sdedoreopea Nolue;
EYande
<himl>
<hedd
Ale >> HTML
hend
CsEMPLE<|tles
btdy>
cha syle color qseen; font Sige: 24pMfont syle
nos mo,">Hetlo. SIA GPOUPL ha
APCS
</Mml
Slep
d. This
To otHe a HTM psoqidm, Open a suAate Ockepa
Can be done by clsweng tte skat bton ypirg nolerad"
at he (ommand poompd
Tupe the
ollouirg Cade Fs HTM
<HTML>
HEPDS
TITLE> My ARST HTML PRoLRAM 2TITLE>
<HEMD
2BCDy>
P> AEA RMNDI MAHAVIDYALAYA 2IP>
2HTML
Ao SaNe the abeve Cede a fist, html.
step 2.
O4eovirg, On iotanet eplrrn on t loe dispayee
th tte file name
(301lo92bRO23- CS VI 51e|21
SECTIONB Fa 055
11C6S
Coscaditgsle shee (CSs), foxm coe of the mos
otesestiry
Conteps of HTML
Centepls 0 i Seuties the xue f
Cx9anig
elements of given web documend T+ oly exlends its
fealkus in (ontrolling Colors ad Sigs ofonts, hot aso
Contsols
CCnlsolsrates blw vasis elenents, the Colos asd uidth ot o
ven ine e. Thus, CSS a Used to dedeamine 4e sele
18011092UbB023 cs v s8la
YRs of (5S
CSS 8ues Con be oddd frto douments in bsee ubys, They a,
Rue. CS
body Coleu: BLAc 8ecHGRoUND -(oLOR: Lioe FOT- FAMILY SGNS-SERIR
AubH: CENTER,Z
htfoNT-sizt :20P
h2 Bexu 6ROND-CoLOR: ORANSE; BORCER -UwOTH2PM; BORDFR-(OLOP:
haFolT WElGhT: ITALIC CoLOR BLAC, PADDING 20K;
ht PhDOING: 5P,}
MCS
exdand. himl
hhml
<hend
4Hletslena sle she exampe <EHle>
Iiml el=" syle sheed Type Te ess" ref "gle.cs",
(hend >
<body>
<hi> his is h) <hi>
h his is ha <h>
h3 Ths is ha <ha
<a> his is h4 <ha>
bdy
< hhml>
HTML>
APCS
86ltog2 46R023- CS vU se
pager09
3Inline style sheel.
n this sheck, he lenfunatin of (owen eb dotument
S dedase in the bedy ecn of HTML Code Ond the ules Gle
<body
<hi syle ="
colo:bloe,"> Heodvog /h1>
2lbady >
13 tovm Voalidatin.
Bosic ltdqtion.
Exdmple
Nalidadin Biarmle hhtml
Hml >
head
<ttle > loim validaticn Eample </ti\le
<Ssist kye ="
Aert/Java sotit"
MCS
1801109268023- csVIW-5s2
Poae-12
uncties valicat (form)
N0 ehom ulue -
ue)
N UBaname
fCtrt Ua lome. value
Va phswod i=tonm 4X4 Passucnd vale
FO4sto0d 2: fom4y ossws. Nale
possuoend !posswond 2)
eom nlo.e = alse
MPCS
IgOll0g246RO23- cs VI 58at
poas13
ale Yous possuvonds clid not mdh ")
fovm 4 Phssuond value
oM 1.t Rossuond 2. Nalue " "
<(head >
body>
ovm noe fenm |" melthod post " attion "onko htm"
=
2ldN>
2diN>
onsuonit- seusn validak(the):>
d
<Input Npe-" subm" Nale " subml"
2ldN>
MPCS
8011O92468023- CS VII- 58a
Pp- 14+
<ovm
< body>>
haaku hAm
<html>
<hesd ></head>
<body>
P> Thank you for Yuua Submission </p
<body
< Mnl>
Bod Tad
Aything tod oppet3 wrtho 2b>.. 2[b>
lb> element, is
dedaed i bold.
Example
2IDOC TYPE ml
html
MPCS
2|bead
<body
<P> The tellousng uhd uses6 4b>boldz|b> typefate. eIps
< lbody>
hml>
Ths uill psodule the ellotrg xesul
The uosd use bld typefete
Tkalic Tes*
Argorg thaB Opreans utho i.. i elemat is displayed
initalltzed o oun
E1ample
2100CTYPE Ml>
html>
<heod
title Halie Tex Esampe
>
2AHles
<lhad
body>
p> The Folodig und u5s an ds ttslu tiacd i eate
e body> -lp>
MCS
chead
<tile > ndelind lext Exampe<Hle >
heod
body
2p The olouir d 1s @
20 undeind
0>upe
fat. lp>
bodys
Shke Tat
Aruything ttot Opreas uthi sike >..
Sdicad th ssle thsoug thith is a thrn me<ske» elemer
thstugh 4h
ao&tun
Eample
ZLDoCTYPE Hul >
<tml >
heod
MPCS
Supessip Teut
The tontef&a /op>. 1up eemend is viten în
apesrip, the ent size 0r t e Same Sz ag the
iarnple
ZAOOCTY PE ml
html
head >
4ttle Spasipt let
tsamydeHille
<head
oody>
2p> The ollbuing d uses a <sup> SUpasdipt2supS
hpedae 2lp>
MPcS
(gOL092UG9023- Cs VNI- 5(8/21
P-18
Spsed Text
he tonle oastby... <lsub> elemed is wvitten tn
Subssid e fet Se OSed is the Sae 09 he dhanatas
Suroupding it, bul is dtpdyed halt o chanadavs heig4beah
he chdsaelos
EMAMple
<html>
heoad>
<A He > subsupt Textaomple <tes
<lhetds
<bedy
Sphe llou d Uss a <sub> Substspt <subs
oore. 2lps
<Mml
nsesded erd
Authinq hat aeh hin
Lins. <ins>
dselayed eedot
0 Ae elanext
taple.
2DOCTYPE html
MPCS
<heod
<Hle> nseled Tenk Eampe 24tle
<body
p>uOnt to
arndedel > Cola <del > <ins>uiez
fhsy< /p>
deled Tat
uthhg thad appes utin
2dely.dels denet, is
deayed 0& deledd enk
EIOMpe
2 DOCTYPE Aml
0aqe Tent
he tortent e 2Bg -
FMample
DoCTyPE tMl >
<heod>
Hte> lag Tent Exampe rle>
head>
body
p he lesig und 6
16>6q </bg stypetace.
z lbody zlp
html>
MPCS
18ON02u6RO23- cS VII- 58|21
age: 2
2had
AHle Smalle Texd EaompeAles
<head
cbody>
<p> The 6lbuig uwed uses a smal z mall 2/smalls
upefa te. <lp>
<lbody
-2 THE END