Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAH! A"WAR #$ W%i&% organi'aion e*nes %e Web Sanars+ a$ Mi&roso Cor-oraion b$ IBM Cor-oraion c. World Wide Web Consortium $ A--.e In&$ /$ W%i&%g o %e o..o0ing is 1se o &reae 0eb -ages+ a. HTML b$ C &$ JVM $ !T! 2$ HTML is &onsiere as 333 .ang1age a$ Programming Langa1ge b$ 44P Lang1age &$ Hig% Le5e. Lang1age d. Markup Language 6$ HTML .ang1age is a se o mar71- 333 a$ Arib1es b. Tags &$ Ses $ 8ro1-s 9$ HTML ags are 1se o es&ribe o&1men 3333 a$ !e*niion b$ Lang1age c. Content $ "one o %ese
#$ T%e so0are %a &an rea an rener HTML o&1mens is a$ Ser5er b$ Com-i.er &$ Iner-reer $ Bro0ser ##$ PCs r1nning Wino0s 2$; 0i.. %a5e 3333e;ension or %m. -ages -ages a$ $%. b$ $%m. c. .htm $ $%m. #/$ W%i&% o %e o..o0ing is no an e;am-.e o bro0ser+ a$ "es&a-e "a5igaor b. Microsoft ing &$ Mo'i..a >ireo; $ 4-era #2$ W%o is %e -rimary a1%or o HTML+ a$ Brenan i&% b. Tim erners!Lee &$ Web Programmer $ 8oog.e In& #6$ HTML 0as *rs -ro-ose in year 333$ a$ #@? b. "##$ &$ #@@9 $ /
:$ HTML o&1men &an &onain a$ Arib1es b$ Tags &$ P.ain e; d. All of these
#9$ HTML ags are s1rro1ne by 333 bra&7es a. Angle b$ S1are &$ Ro1n $ C1r.y
<$ Page esigne in HTML is &a..e a a$ =e..o0 Page b. Web Page &$ Ser5er Page $ >ron Page
#:$ 4-ening ag o HTML is &a..e a$ ning ag b. %tarting tag &$ C.ose ag $ Pair ags
?$ We &an 0rie HTML &oe 1sing 3333$ Se.e& a--ro-riae a--ro-riae o-ion(s)$ a$ VLC Meia b. Notepad++ &$ Mi&roso Po0erPoin $ "one o %ese @$ HTML o&1men is sa5e 1sing 3333 e;ension$ a$ $%. b. .html &$ $%m. $ $%n.
#<$ HTML o&1men &onain one roo ag &a..e 3333 a$ HA! b$ Ti.e &$ Boy d. HTML #?$ Basi& 1namena. b.o&7 is &a..e as 333 a. HTML tag b$ HTML boy &$ HTML Arib1e $ HTML .emen
Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAH! A"WAR #@$ Is i -ossib.e o inser a ab.e 0i%in ano%er ab.e+ a$ =es, b1 %ere m1s be e;a&.y / ro0s an / &o.1mns in *rs ab.e$
b. &es' table can be inserted into cell of another table. &$ =es, b1 %ere m1s be no borer in se&on ab.e$ $ "o, i’s no -ossib.e$ /$ W%a is %e 1sage o a. 5a.1e in imgD ag+ a. Alternati(e te)t for an *mage b$ A.ernai5e so1r&e o an Image &$ Ca-ion o an Image $ A.. o abo5e /#$ W%i&% o %e o..o0ing is %e &orre& regaring mea ag in HTML+ A$meaD E FmeaD .meta name , - - / C$meaaaD E FmeaaaD !$ meaaa name G FD //$ W%i&% o %e o..o0ing is &orre& o se B.a&7 &o.or as Ba&7gro1n o -age+ A.bgcolor , 01$$$$$$2/ B$boy ba&7gro1n G KD C$boy Ba&7gro1n &o.or G KD !$ A.. o Abo5e /2$ W%i&% o %e o..o0ing is &orre& o a.ign H# ag o Rig% A.ignmen A.h" align , 0right-/ 3 B$%# a.ignmen G rig%D E C$%# ag a.ign G rig%D E F%#D !$ H# &anno ma7e Rig% A.ignmen /6$ W%i&% o %e o..o0ing is &orre& o &%ange on a&e in Web Page A$on G on nameD E B$on name G on nameD E FonD C.font face , 0font name-/ 3 font/ !$ >on >a&e &anno &%ange /9$ W%i&% o %e o..o0ing is in&orre& regaring Logi&a. sy.es+ A$Coe .oo7s .i7e e.ey-e B$Sam-.e .oo7s .i7e e.ey-e C$eyboar .oo7s .i7e e.ey-e 4. 5ariable looks like telet6pe /:$ W%i&% o %e o..o0ing is &orre& &%ara&er eniies or Co-yrig% symbo.+ A$#6@N B$#9@N C.71"8#9 !$ #<@N
/<$ W%i&% ag is 1se o is-.ay Preormae e;s+ A$-reD E F -reD B$-reorD E F -reorD C$-re e;D E F -re e;D !$ -re ormaD E F -re ormaD /?$ W%i&% is %e &orre& o &reae an Arabi& n1mera. .is A$1. y-eG#KD .ol t6pe,-"2/ C$i. y-eG#KD !$ .i y-eG#KD /@$ Ho0 o a a.ernai5e e; or an Image+ A$img sr& G %-OFF000$m&ses$&omFbran$-ng a.ernae G Bran o 0ebsie FD B$img sr& G %-OFF000$m&ses$&omFbran$-ng a. e; G Bran o 0ebsie FD C$ sr& G %-OFF000$m&ses$&omFbran$-ng a.ernae e; G Bran o 0ebsie FD 4. img src , 0http:;;;.mci.es in HTML+ A. embed src , 0song.mid- ;idth , 0"$- height , 0"=-/ B$embe so1n G mysong$mi 0i% G # %eig% G #9D C$embe a1io G mysong$mi 0i% G # %eig% G #9D !$ embe m1si& G mysong$mi 0i% G # %eig% G #9D
2#$ In HTML, niorm Reso1r&e Lo&aor (RL) is 1se o a$ To &reae a rame o&1men $ b$ To &reae a image ma- in %e 0eb-age$ &$ To &1somi'e %e image in %e 0eb-age$ d. To identif6 a name or a resource on the internet. 2/$ CSS is an a&ronym or a. Cascading %t6le %heet b$ Cos1me Sy.e S%ee &$ Cas&aing Sysem Sy.e $ "one o %e Abo5e 22$ W%i&% o %e o..o0ing -roo&o. is no 1se in %e Inerne
a$ Te.ne b. W*>L &$ HTTP $ 8o-%er 26$ W%o in5ene Wor. Wie Web (WWW)+ a$ B.aise Pas&a.
Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAH! A"WAR b$ C%ar.es Babbage &$ Herman Ho..eri% d. Tim erners!Lee 29$ W%a is %e 1se o Web >on in HTML + a$ %a is %e &ore on %a is 1se o e5e.oWeb Pages$ b$ %a enab.es o 1se ons o5er %e Web 0i%o1 insa..aion$ &$ %a is %e s-e&ia. on %a e5e.o-e by Mi&roso Cor-$ d. All of the Abo(e. 2:$ W%a is D ag in HTML+ a. *t renders fonts as telet6pe te)t font st6le$ b$ I reners ons as r1ey-e e; on sy.e$ &$ I reners ons as r1n&ae e; on sy.e$ $ "one o %e Abo5e$ 2<$ W%a is %e 1se o >orms in HTML+ a$ o is-.ay &onens o emai.$ b$ o is-.ay animaion ee&$ c. to collect user?s input. $ "one o %e Abo5e$ 2?$ W%a is %e 1se o irame in HTML+ a. to displa6 a ;eb page ;ithin a ;eb page. b$ o is-.ay a 0eb -age 0i% animaion ee&$ &$ o is-.ay a 0eb -age 0i%o1 bro0ser$ $ A.. o %e Abo5e$ 2@$ >TP is an a&ronym or a$ >i.e Transa&ion Proo&o. b$ >i.e Transmission Proo&o. &$ >i.e Trans.aion Proo&o. d. @ile Transfer Protocol 6$ W%i&% HTML Tag 0i.. 1se o s&ro.. a e; in 0eb -age+ a. mar
6/$ Ho0 o se a -i&1re as a ba&7gro1n 0eb -age+ a. bod6 background, 0bgimage.gif-/ b$ boy ba&7gro1n imageG bgimage$giD
&$ ba&7gro1nG bgimage$giD $ ba&7gro1n imageG bgimage$giD 62$ W%i&% o o..o0ing HTML Tag 0i.. insering a .ine brea7+ a$ -D b$ .ineD c. br/ $ brea7 D 66$ W%i&% o %e o..o0ing ags are re.ae o Tab.e in HTML + a$ ab.eD ro0D &o.1mnD b. table/ tr/ td/ &$ ab.eD %eaD boyD $ ab.eD %eaerD ooerD 69$ W%i&% o %e o..o0ing is &orre& HTML or insering an image+ a$ image so1r&eG 000$m&ses$&omFamin$-g a.G T%is is me FD b. img src, 0;;;.mcirs -age $ Main -age 9$ T%e 5ersion o HTML is a$ HTML b$ HTML#
Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAH! A"WAR &$ HTML/ d. All of these 9#$ Hea ag is 1se or+ a$ Wriing sy.e b$ Wriing Ja5a S&ri- &$ In&.1ing CSS, JS >i.es $ A.. o %ese 9/$ Ho0 many %eaing ags are s1--ore by HTML+ a$ 2 b$ 6 &$ 9
d. 8 92$ W%i&% is %e .arges %eaing ag+ a. H" b$ H2 &$ H6 $ H: 96$ W%i&% o %e o..o0ing are arib1es o >on ag+ a$ >a&e b$ Si'e &$ Co.or d. All of abo(e 99$ EEEEEEEE$ &onne&s 0eb -ages$ a$ Conne&or b$ Lin7 c. H6perlink $ "one o %e abo5e 9:$ Inerne is EEEEEEEEEE$ a. a net;ork of net;orks b$ an o&ean o reso1r&es 0aiing o be mine &$ a &oo-erai5e anar&%y $ a.. o %e abo5e 9<$ EEEEEE is s1iab.e or remoe aminisraion o a &om-1er$ a$ >TP b$ S%e.. &$ Remoe Pro&e1re Ca.. d. Telnet 9?$ Ti.e ag is nese 0i%in %e EEEEEEE$$ ag$ a$ Boy b. Head &$ Lis $ Tab.e 9@$ EEEEEE$$ is a 0eb’s nai5e -roo&o.$ a$ SLIP b$ TCPFIP c. HTTP $ PPP
:$ T%e Inerne 1ses %e EEEEEEEE as %e -roo&o. engine$ a$ SLIP b$ HTTP c. TCP*P $ PPP :#$ A EEEEEEEEE$$ is a symbo.i& name a ne0or7 aminisraor assigns o a ma&%ine$ a$ RL b$ !"S &$ IP aress d. Host name :/$ W%i&% o %e o..o0ing -roo&o. is 1se or emai. ser5i&es$ a$ SMAP b. %MTP &$ SMIP $ SM4P :2$ EEEEEEE$ is %e in&oming emai. ser5er$ a. PP b$ SMTP &$ SMIP $ PPP :6$ EEEEEEE$$ is a 1niorm naming s&%eme or .o&aing reso1r&es on %e 0eb$ a. D>L b$ HTTP &$ WB"AM $ RS4RC"AM :9$ T%e arib1e EEEEEE o B4!=D ag ses &o.or o %y-ere; .in7s$ a. link b$ 5.in7 &$ a.in7 $ %.in7 :<$ T%is is a ne0or7ing e5i&e %a -asses aa be0een ne0or7s %a5ing simi.ar 1n&ions b1 issimi.ar im-.emenaions$ a$ H1b b$ Moem c. Eate;a6 $ Re-eaer :?$ In orer o &onne& o ISP’s ser5er yo1 nee EE$ a$ Han g.o5es b$ Priner c. Dser name and Pass;ord $ "one o %e abo5e :@$ !"S rans.aes EEE a$ omain name ino IP b$ IP ino omain name
Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAH! A"WAR c. both a 7 b $ omain name ino -%ysi&a. aress <$ In orer o 1-.oa a HTML *.e o a 0eb ser5er, yo1 1se a$ HTTP b$ SMTP &$ SIP d. @TP <#$ I sans or EE$$ a$ Insi1e o esimae e.e5aor eU&ien&y b$ Insi1e o e.e&ri&a. an e&onomi&a. engineers &$ Insi1e o 1rasia engineering e5en d. *nstitute of electrical and electronics engineers $ T%e regiona. ne0or7s are &onne&e o %e &or-orae ne0or7s, %is is a.so &a..e as EE$$ a$ Ba&7bone b$ LA" C4M &$ WA" C4M $ Inrane <2$ 4n&e %e emai. is sen, %e message is bro7en ino -ie&es &a..e EEEEEE a. Packets b$ Pro&ess &$ !igis $ Byes <6$ EEEEEE$ is 7no0n as a%er o Wor. Wie Web$ a$ Rober Cai..ia1 b$ Tim T%om-son &$ C%ar.es !ar0in d. Tim erners!Lee <9$ EEEEE$ are %e -%ysi&a. meeing -oins o ba&7bones$ a. Eate;a6s b$ Pa%0ays &$ Ro1ers $ !omains <:$ C1e>TP is an e;am-.e o EEEE&.ien -rogram$ a. @TP b$ Te.ne &$ Web bro0ser $ Mai. <<$ W%i&% o %e o..o0ing is bes s1iab.e or remoe aminisraion o a &om-1er+ a. Telnet b$ WAIS &$ Bro0sers $ HTML
$ T%e .eaing bi -aern o &.ass B ne0or7 is EEEEEE a$
b. "$ &$ ## $ ## <@$ T%e EEEEEEE$ arib1e as s-a&e 0i%in ea&% &e..$ a$ CLL SPACI"8 b. CFLL PA44*NE &$ WI!TH $ ALI8" ?$ W%i&% o %e o..o0ing are 0o -o-1.ar -roo&o.s %a a..o0 %ome &om-1er 1sers o &onne& %eir &om-1ers o %e inerne as -er %oss+ i) SLIP ii) PPPiii) HTTP i5) SMTP a$ iii an i5 b$ ii an iii c. i and ii $ ii an iii ?#$ A &om-1er %a rans.aes EEEEEEEE o ano%er &om-1er ino an EEEEE an 5i&e 5ersa, 1-on re1es is 7no0n as !"S ser5er$ a. 4omain name and *P address b$ Hos aress an !omain name &$ !omain name an ser5er aress $ Ser5er name an IP aress ?/$ Ieniy %e 1ses o RI in HTML$O i) Lin7 o ano%er o&1men or reso1r&e ii) Lin7 o e;erna. sy.e s%ee or s&ri- iii) Creae an image maa$ i an ii b$ i an iii &$ ii an iii d. i ' ii and iii ?2$ An orere .is is a EEEEEEE$ .is an an 1norere .is is a EEEEE$$ .is$ a$ b1..ee n1mbere b$ b1..ee ab1.ar &$ ab1.ar n1mbere d. numbered 7 bulleted ?6$ Lin7ing o ano%er -.a&e in %e same or ano%er 0eb -age re1ires 0o A (An&%or) ags, %e *rs 0i% %e EEEEEE arib1e an %e se&on %e EEEEEE$arib1e$ a$ "AM LI" b$ LI" HR> c. H>F@ 7 NAMF $ TAR8T VAL ?9$ W%a y-e o inormaion s%o1. yo1 a5oi in&.1ing on yo1r Web sie+
Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAH! A"WAR a$ Lin7s o sies o ineres b. Pri(ate personal information &$ Wor7 an a&aemi& e;-erien&e $ 8ra-%i&a. ?:$ W%i&% o %e o..o0ing 0eb e.emens s%o1. yo1 7no0 abo1 beore b1i.ing yo1r 0eb sie+ a. The ;eb audience b$ T%e o-eraing en5ironmen o yo1r ISP &$ T%e o-eraing sysem o yo1r 5isior $ a&% &onsieraion s%o1. eermine yo1r 0eb esign &%oi&es ?<$ W%a is %e .ang1age o %e Web+ a$ Basi& b$ C &$ MS Vis1a. Basi& d. HTML ??$ W%a oes an HTML ag o+ a. *t speciGes formatting and la6out instructions for 6our ;eb page. b$ I %ies -rogramming insr1&ions rom 5ie0$ &$ I eermines %e organi'aiona. sr1&1re o yo1r Web sie$ $ I &onne&s yo1r 0eb sie o an o-eraing en5ironmen$ ?@$ A Web o&1men is bro7en ino se&ions$ W%a are %e ags &a..e %a &reae %ese se&ions+ a. %tructure tags b$ HTML ags &$ Heaing ags $ Boy ags @$ W%a s%o1. be %e *rs an .as -air o ags in yo1r Web o&1men+ a. html/html/ and bod6/bod6/ b$ sarDenD an boyDFboyD &$ %eaDboyD an i.eDFi.eD $ i.eDFi.eD an boyDFboyD
#$ W%a &an be e*ne 0i%in a sing.e on ag O A$ 4n.y a&e B$ 4n.y si'e C$ 4n.y &o.or 4. All of the abo(e /$ To &%ange ea1. on a&e or si'e o a Web-age, 1se O A$ base ag . basefont tag C$ basea&e ag !$ "one o %e abo5e
2$ Se.e& r1e saemenO Saemen #O=o1 &an assign m1.i-.e 5a.1es o a&e arib1e o on ag$ Saemen /O I yo1 s-e&iy a on name as a&e 5a.1e o on ag, %a is no insa..e on 1sers &om-1er, e; 0i.. be is-.aye in bro0ser’s ea1. on$ A$ 4n.y Saemen # is r1e$ B$ 4n.y Saemen / is r1e$ C. oth' %tatement " and %tatement are true. !$ "ei%er, Saemen # no Saemen / is r1e$ 6$ T%ere are EEE ses o HTML ags %a orm %e basi& sr1&1re neee or e5ery HTML *.eO A$ one B$ 0o C$ %ree 4. four 9$ W%i&% ag is 1se o a &omman %a is 1se o insr1& %e &om-1er (s-e&i*&a..y bro0ser)+ A. html/ B$ i5D C$ rameD !$ "one o %e abo5e :$ T%e Heaing ag an Paragra-% ag &an be re-resene as A$ %eaD an -araD B$ %rD an -rD C. h"/ and p/ !$ "one o %e abo5e <$ T%e HTML syna; o HTML9 re1ires a EEEE$ o be s-e&i*e o ens1re %a %e bro0ser reners %e -age in sanar moe$ A. 4CT&PF B$ HA! C$ B4!= !$ TITL ?$ W%i&% ag is 1se o ieniy %e beginning an en o %e HTML o&1men+ A. html/ B$ boyD C$ i.eD !$ "one o %e abo5e @$ 4ne o %e mos -o-1.ar 0ay is o s-e&iy &%ara&erse 1sing a A$ mea aa . meta element
Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAH! A"WAR C$ mea 5a.1e !$ "one o %e abo5e
!$ -i& sr&Gimage$gi a.GMyImage FD
#$ is A$ . C$ !$
&asesensii5e case!insensiti(e &aseim-sensii5e "one o %e abo5e
#?$ A. B$ C$ !$
##$ A$ B$ C$ 4.
T%e ses o HTML ag is %m.DF%m.D %eaDF%eaD i.eDFi.eD All of the abo(e
T%e o&y-e e&.araion or %e HTML
#/$ A .is 0%i&% is -ro5ie 0i% n1meri& igi is &a..e an A. rdered List B$ norere Lis C$ !e*niion Lis !$ "one o %e abo5e #2$ A. B$ C$ !$
An 4rere Lis &an be re-resene as ol/ 1.D .iD e.D
#6$ A .is 0%i&% is -ro5ie 0i% a b1..e(a b.a&7 o) is &a..e an A$ 4rere Lis . Dnordered List C$ !e*niion Lis !$ "one o %e abo5e #9$ A$ B$ C. !$
Ho0 many .is o HTML isFare one 0o three o1r
#:$ A$ B$ C. !$
!e*naion .is &an be e*ne as O o.D 1.D dl/ "one o %e Abo5e
#<$ W%a is %e &orre& HTML or insering an image+ A$ image sr&Gimage$gi a.GMyImage FD . img src,-image.gifalt,-M6*mage- / C$ img a.GMyImageDimage$giFimgD
W%a oes 5.in7 mean + (isited link 1n5isie .in7 a&i5e .in7 5eri&a. .in7
#@$ one arib1e is 1se o ieniy an image as image ma-+ A$ MAP B$ SMAP C. *%MAP !$ IMAP /$ W%i&% one arib1e is 1se o sen %e &oorinae o image o %e ser5er W%en %e 1ser &.i&7s on %e image+ A$ C44R! B$ SMAP C$ SIMAP 4. *%MAP /#$ I yo1 0an o be s1re %a %e image is inee %e same one %a %e a1%or inene, an %asn’ been moi*e in any 0ay, 0%i&% one arib1e insie imgD ag is 1se+ A. M4 B$ S! C$ "4CHA"8 !$ L4C //$ T%e 5a.1e o M! arib1e o imgD ag &an be A$ M!GM!9Osome e; B$ M!G!SS#Osome e; C$ M!GSHA9#/Osome e; 4. An6 of the abo(e /2$ W%i&% one is %e manaory arib1e o %e imgD ag+ A. %>C B$ HR> C$ I! !$ ALT /6$ Saemen#OT%e IM8D ag is 1se o in&or-orae in.ine gra-%i&s (y-i&a..y i&ons or sma.. gra-%i&s) ino an HTML o&1men$ Saemen/OT%e IM8D e.emen is a.so inene or embeing o%er HTML e;$ Saemen 2O>or .arge *g1res 0i% &a-ions an e; o0 see >I8 e.emen$ A$ Saemen # an Saemen / are r1e$
Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAH! A"WAR B$ Saemen / an saemen 2 are r1e$ C. %tatement " and statement I are true. !$ A.. %ree saemens are r1e$
A. space attribute B$ 0%ies-a&e arib1e C$ ba&7s-a&e arib1e !$ A.. o %e abo5e
/9$ W%i&% ag is 1se o e*ne an image in HTML+ A. img/ B$ imageD C$ -i&D !$ "one o %e abo5e
22$ W%i&% aress is in&.1e %e enire -a%name+ A$ Re.ai5e B$ Mi;e C. Absolute !$ "one o %e abo5e
/:$ W%i&% y-e o -arameer s-e&iy %e -a% 0%ere yo1r image is -.a&e+ A$ -a% B$ s&r C. src !$ "one o %e abo5e
26$ A. B$ C$ !$
/<$ A$ B$ C. !$
8I> sans orO 8ra-% Iner&%ange >orma 8ra-%i&s Iner.in7e >orma Eraphics *nterchange @ormat "one o %e abo5e
/?$ W%i&% arib1e &an be 1se o -osiion %e image+ A$ -osiion arib1e . align attribute C$ margin arib1e !$ "one o %e abo5e
P"8 sans orO Portable Net;ork Eraphic Pi5o "e0or7 8ra-%i& Pi&%ar "e0or7 8ra-%i& Py%agor1s "e0or7 8ra-%i&
29$ HTML -ro5ies a 1n&iona.iy o &onne& one or more -ages in 0eb-ages or reso1r&es$ A. link B$ sr& C$ noe !$ ree 2:$ A$ B$ C$ 4.
T%e imgD ag is s1--ore by inerne e;-.orer mo'i..a *reo; goog.e &%rome All of the abo(e
/@$ T%e EEE$$ an EEEE$ini&aes 5eri&a. s-a&e an %ori'ona. s-a&e res-e&i5e.y$ A$ 5ers-a&e an %ors-a&e . (space and hspace C$ 5ers-a&e an %ors-a&e !$ "one o %e abo5e
2<$ HTML -ro5ies 0%i&% &onro. o 1se arranging e; an a.so in e*ning %e %ings more 1nersanab.e manner$ A. Tables B$ >rames C$ !i5 !$ "one o %e abo5e
2$ A$ B$ C$ 4.
2?$ by A. B$ C$ !$
T%e imgD ag arib1es are Si'e arib1e S-a&ing arib1e Borer arib1e All of the abo(e
2#$ W%i&% arib1e e*ne %e 0i% an %eig% o %e image+ A. %iJe attribute B$ .eng% arib1e C$ margin arib1e !$ A.. o %e abo5e 2/$ W%i&% arib1e &an be &reae be0een image an is s1rro1ning e; by s-e&iying %ori'ona. an 5eri&a. s-a&e+
A ab.e &onains ro0s 0%i&% is e*ne tr/ tag D ag %D ag "one o %e abo5e
2@$ Tab.e aa may &onain A$ e; B$ .in7s C$ ab.es 4. All of the abo(e 6$ W%i&% arib1e in Hm. ab.e is 1se o gi5e a borer o yo1r ab.e+ A$ .ine
Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAH! A"WAR B$ borer C$ margin.e borer !$ A.. o %e abo5e 6#$ A$ . C$ !$
A ab.e 0i% no borer ab.e borerGKD table border,-"2/ ab.e borerG D "one o %e abo5e
6/$ E$$ ag is 1se o e*ne a ab.e %eaer$ A. th/ B$ D C$ rD !$ "one o %e abo5e 62$ A$ B$ C$ 4.
A ab.e &an be s-anne ei%er in ro0s &o.1mns &o.1mns or ro0s All of the abo(e
66$ W%i&% &onro.s 0i.. be 1se in s-a&e be0een ab.e &e..s+ A$ Ce.-aing . Celspacing C$ Ce.s%iing !$ A.. o %e abo5e 69$ EEE$$ an EEEE$$ are 1se o e*ne a s-an in &o.1mn an ro0s res-e&i5e.y$ A. Kcolspan? and Kro;span? B$ X&e.-aing’ an X&e.s-a&ing’ C$ ei%er (A) or ei%er (B) !$ nei%er (A) or nor (B) 6:$ A$ B$ C. !$
D ag sans orO ab.e imension ab.e ae table data "one o %e abo5e
6<$ W%i&% e.emen in HTML e*nes se&ions o a 0eb -age+ A$ ab.e . di( C$ rame !$ "one o %e abo5e 6?$ A. B$ C$ !$
T%e !IV e.emen is a block!le(el element Hig%.e5e. e.emen .o0.e5e. e.emen mi.e.e5e. e.emen
6@$ In HTML %e !IV e.emen &an be o1n insie any e.emen %a &an &onain A$ %ig% e.emens B$ .o0 e.emens C. o; elements !$ A.. o %e abo5e 9$ >rom 0%i&% e.emen %as 5ery simi.ar -ro-eries o %e !IV e.emen+ A$ srong e.emen . span element C$ ab.e e.emen !$ A.. o %e abo5e
a(a%cript MC #$ Ja5as&ri- is a 33333333333333 A$ser5er sie s&ri-ing .ang1age$ .client side scripting language. C$i%er (A) or (B) !$"ei%er (A) nor (B) /$ sing 0%i&% ag 0e inser an Ja5aS&ri- in HTML -age+ A$Ja5aS&ri- y-eGe;Fa5as&ri-D .script t6pe,-te)tBa(ascript-/ C$JS&ri- y-eGe;Fa5as&ri-D !$HTMLS&ri- y-eGe;Fa5as&ri-D 2$ W%i&% o %e o..o0ing is no r1e abo1 Ja5aS&ri-+ A$I is a s&ri-ing .ang1age$ .*t e)ecute ;ith preliminar6 compilation. C$I is a .ig%0eig% -rogramming .ang1age$ !$I &an be embee ire&.y ino HTML -ages$ 6$ W%i&% o %e o..o0ing Ja5aS&ri- &an o+ A$Ja5aS&ri- &an rea& o e5ens$ B$Ja5aS&ri- &an mani-1.ae HTML e.emens$ C$Ja5aS&ri- &an be 1se o 5a.iae aa$ 4.All of the Abo(e 9$ W%a is %e o1-1 o %e o..o0ing a5as&ri- &oe+ s&ri- y-eGe;Fa5as&ri-D ;G66KN o&1men$0rie(;)N Fs&ri-D A.OO B$? C$6 !$rror o1-1 :$ S&ri- in an e;erna. *.e an %en in&.1e in A$boyDEFboyD se&ion .head/3head/ section C$%m.DEF%m.D se&ion !$ormDEFormD se&ion <$ W%i&% se&ion 0%ere a5as&ri- &oe &an be -.a&e+
Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAH! A"WAR A$boyDEFboyD se&ion B$%eaDEF%eaD se&ion C.Fither AQ or Q !$"ei%er (A) nor (B) ?$ W%a is %e &orre& syna; or reerring o an e;erna. s&ri- &a..e ab&$s+ A$s&ri- %reG ab&$sD B$s&ri- nameG ab&$sD C.script src,- abc.Bs-/ !$"one o %e abo5e @$ W%a is mean by %is 7ey0or in Ja5aS&ri-+ A.*t refers current obBect B$I reeres -re5io1s obe& C$I is 5ariab.e 0%i&% &onains 5a.1e !$"one o %e abo5e #$ W%o is o be inro1&e Ja5aS&ri-+ A$Mi&roso B$IBM C$8oog.e 4.%un Micros6stems ##$ In Ja5aS&ri-, &ommon 1ses is A$Inera& 0i% 1ser 1sing -rom-(), a.er B$C.ien sie 5a.iaion .i7e &%e&7ing or C$Creaion o &om-.e; 1ser inera&es$ 4.All of the abo(e #/$ 333333333 7ey0or is 1se o e&.are 5ariab.es in a5as&ri-$ A.5ar B$!im C$Sring !$"one o %e abo5e #2$ W%i&% one is %e a5anages o Ja5aS&ri-+ A$Sim-.i&iy B$S-ee C$Versai.iy 4.All of the abo(e #6$ Ja5as&ri- %as &a-abi.iy o inera& 0i% A$1ser B$&onro. %e bro0ser C$a.er %e o&1men &onen 4.All of the abo(e #9$ Being &.iensie re1&es %e eman on %e 0ebsie ser5er A.%er(er Load B$C.ien Loa C$en&.ien .oa !$enser5er .oa #:$ T%e Ja5aS&ri- *.e insie %e 33333333 ag in 33333333 se&ion o HTML o&1men$ A$Fs&ri-D,F%eaD .script/'head/
C$s&ri-D,i.eD !$s&ri-D,boyD #<$ W%i&% is %e e;ension o a5as&ri- *.e+ A$ $& B$ $a5a C. .Bs !$ $#?$ 33333 Ja5aS&ri- saemens embee in an HTML -age &an res-on o 1ser e5ens s1&% as mo1se&.i&7s, orm in-1, an -age na5igaion$ A.Client!side B$Ser5ersie C$Lo&a. !$"ai5e #@$ W%a is %e &orre& Ja5aS&ri- syna; o 0rie He..o Wor.+ A$Sysem$o1$-rin.n(He..o Wor.) B$-rin.n (He..o Wor.) C.document.;rite0Hello World-Q !$res-onse$0rie(He..o Wor.) /$ W%i&% o-eraor &an be 1se o Joins(&on&aenaes) 0o srings an assigns %e oine sring o %e *rs o-eran+ A$ . +, C$ !$ /#$ W%a .ang1age e*nes %e be%a5ior o a 0eb -age+ A$HTML B$CSS C$YML 4.a(a %cript //$ A sing.e.ine &ommens sars 0i% A$F . C$Z[ !$ZZ /2$ A 1n&ion in a5as&ri- a7es A$-arameers B$o-eraes on %em C$re1rns %e re1ire res1. 4.All of the abo(e /6$ W%i&% e5en &an be generae 0%en aa &%anges in a &onro.,s1&% as a e; *e.+ A.onchange B$on0rie C$ &%angee; !$"one o %e abo5e /9$ W%i&% e5en &an be generae 0%en %e mo1se .ea5es an e.emen+
Web Programming MCQ’s (HTML , JAVASCRIPT CSS) By WAH! A"WAR A.onmouseout B$onmo1seo0n C$onmo1semo5e !$onmo1seo5er
/:$ W%i&% e5en &an be generae 0%en a raganro- o-eraion is 1nera7en+ A$onroB$onrag C.ondragdrop !$"one o %e abo5e