HTML5 CSS3 MID TERM EXAM WITH
CORRECT AND ELABORATED SOLUTIONS
By vconvention, van vunclicked vlink vis v____. v- vCORRECT✅✅blue
In vthe vfigure vabove, vitem v____ vpoints vto va vsemantic velement. v-
vCORRECT✅✅<footer>
CSS vrepresents vthe vcharacteristics vof vevery vweb vpage velement vusing vthe v____
vmodel, vwhich vtreats veach velement vas va vrectangular vbox vhaving vseveral vglobal
vproperties. v- vCORRECT✅✅box
In vthe vfigure vabove, vitem v____ vpoints vto van vattribute vvalue. v-
vCORRECT✅✅<html vlang="en"> v"en" vis vcorrect vanswer
The vlocation vof van vabsolutely vpositioned velement vis vcalculated vbased von vthe
vclosest vancestor velement vthat vhas va vposition vapplied vto vit. v- vCORRECT✅✅True
In vthe vfigure vabove, vitem v_____ vpoints vto va vnamed vcharacter vreference. v-
vCORRECT✅✅&
A vlink vthat vcreates va vnew vemail vto va vspecified vrecipient vstarts vwith v______. v-
vCORRECT✅✅mailto:
In vthe vfigure vabove, vitem v____ vpoints vto van velement vthat vscales vthe vpage vto vfit
vthe vbrowser vwindow. v- vCORRECT✅✅<meta vname="viewport"
vcontent="width=device-width"
Gary vworks vat va vlocal vice vrink vand vhas vbeen vassigned vthe vtask vof vdetermining
vwhat vfonts vto vuse von vthe vwebsite.
Gary vdecides vto vspecify vtwo vfont vfamilies. vThe vcorrect vCSS vfor vspecifying vthis
vwould vbe v____. v- vCORRECT✅✅Font-family: vTahoma, vArial;
In vthe vfigure vabove, vthe vitem v____ vpoints vto van vopening vtag vcontaining van
vattribute. v- vCORRECT✅✅<html vlang="en"> v"<html" vis vthe vcorrect vanswer
A vwidely vused vlayout vinvolves vcolumns vof vtext vand vgraphics vrunning vparallel vto
veach vother vdown vthe vpage. vYou vcan vcreate va vbasic vversion vof vthis varrangement,
vknown vas va v____ vlayout. v- vCORRECT✅✅multicolumn
A vfluid vlayout vuses vthe vmin-width vand vmax-width vproperties vto vconstrain vthe vsize
vof vthe vcontent. vT vor vF v- vCORRECT✅✅True
, CSS3 vadded vsupport vfor vthe vHSL vsystem, vwhich venables vyou vto vcreate vcolors vby
vspecifying vvalues vor vpercentages vfor vhue, v____, vand vlight. v-
vCORRECT✅✅saturation
In vthe vfigure vabove, vitem v____ vpoints vto van vattribute vname. v-
vCORRECT✅✅<meta vcharset="utf-8"> v"charset" vis vcorrect vanswer
<html>
v<head>
v<meta vcharset="utd-8" v/>
In vthe vfigure vabove, vthe vhead velement vis v____. v- vCORRECT✅✅Both vA vand vB
The vrule vof vthumb vis vto vuse v____ vfor vheadings von va vweb vpage. v-
vCORRECT✅✅serif
In vthe vfigure vabove, vitem v_____ vpoints vto va vstyle vrule vthat vis vnot vapplied vto vthe
vselected velement. v- vCORRECT✅✅color: vred; v"crossed vout"
A vcustom vfont vis vanother vname vfor va vfont vfamily. vT vor vF v- vCORRECT✅✅True
A v____ vis va vcategorization vof va vWeb vpage velement, vbut vit vis vbased von va
vrelationship vor vcondition vof vthe velement vat va vgiven vmoment, vrather vthan von va
vstatic vproperty vvalue. v- vCORRECT✅✅pseudo-class
A vCSS vcomment vstarts vwith v_____ v. v- vCORRECT✅✅/* vcomment v*/
"Arial, vhelvetica, vsans-serif" vis va vwidely vused vsans-serif vfont v____. v-
vCORRECT✅✅stack
In vthe vfigure vabove, vitem v____ vpoints vto vcode vused vto vcreate va vbullet. v-
vCORRECT✅✅•
By vdefault va vblock-level velement vis vrendered vwith va vline vbreak vbefore vand vafter. vT
vor vF v- vCORRECT✅✅True
In vthe vfigure vabove, vitem v____ vpoints vto va vchild velement. v- vCORRECT✅✅<meta
v.....>
The vshorthand vproperty vfor vfont vproperties vis vfont-style. vT vor vF v-
vCORRECT✅✅False
Although vyou vcan vlink vto vdocuments vin valmost vany vformat vfrom vyour vweb vpages,
vit's vimportant vto vkeep vin vmind vthat vJava vdocuments vare vthe vonly vones vthat vyour
vusers vare vguaranteed vto vbe vable vto vaccess. vT vor vF v- vCORRECT✅✅False
CORRECT AND ELABORATED SOLUTIONS
By vconvention, van vunclicked vlink vis v____. v- vCORRECT✅✅blue
In vthe vfigure vabove, vitem v____ vpoints vto va vsemantic velement. v-
vCORRECT✅✅<footer>
CSS vrepresents vthe vcharacteristics vof vevery vweb vpage velement vusing vthe v____
vmodel, vwhich vtreats veach velement vas va vrectangular vbox vhaving vseveral vglobal
vproperties. v- vCORRECT✅✅box
In vthe vfigure vabove, vitem v____ vpoints vto van vattribute vvalue. v-
vCORRECT✅✅<html vlang="en"> v"en" vis vcorrect vanswer
The vlocation vof van vabsolutely vpositioned velement vis vcalculated vbased von vthe
vclosest vancestor velement vthat vhas va vposition vapplied vto vit. v- vCORRECT✅✅True
In vthe vfigure vabove, vitem v_____ vpoints vto va vnamed vcharacter vreference. v-
vCORRECT✅✅&
A vlink vthat vcreates va vnew vemail vto va vspecified vrecipient vstarts vwith v______. v-
vCORRECT✅✅mailto:
In vthe vfigure vabove, vitem v____ vpoints vto van velement vthat vscales vthe vpage vto vfit
vthe vbrowser vwindow. v- vCORRECT✅✅<meta vname="viewport"
vcontent="width=device-width"
Gary vworks vat va vlocal vice vrink vand vhas vbeen vassigned vthe vtask vof vdetermining
vwhat vfonts vto vuse von vthe vwebsite.
Gary vdecides vto vspecify vtwo vfont vfamilies. vThe vcorrect vCSS vfor vspecifying vthis
vwould vbe v____. v- vCORRECT✅✅Font-family: vTahoma, vArial;
In vthe vfigure vabove, vthe vitem v____ vpoints vto van vopening vtag vcontaining van
vattribute. v- vCORRECT✅✅<html vlang="en"> v"<html" vis vthe vcorrect vanswer
A vwidely vused vlayout vinvolves vcolumns vof vtext vand vgraphics vrunning vparallel vto
veach vother vdown vthe vpage. vYou vcan vcreate va vbasic vversion vof vthis varrangement,
vknown vas va v____ vlayout. v- vCORRECT✅✅multicolumn
A vfluid vlayout vuses vthe vmin-width vand vmax-width vproperties vto vconstrain vthe vsize
vof vthe vcontent. vT vor vF v- vCORRECT✅✅True
, CSS3 vadded vsupport vfor vthe vHSL vsystem, vwhich venables vyou vto vcreate vcolors vby
vspecifying vvalues vor vpercentages vfor vhue, v____, vand vlight. v-
vCORRECT✅✅saturation
In vthe vfigure vabove, vitem v____ vpoints vto van vattribute vname. v-
vCORRECT✅✅<meta vcharset="utf-8"> v"charset" vis vcorrect vanswer
<html>
v<head>
v<meta vcharset="utd-8" v/>
In vthe vfigure vabove, vthe vhead velement vis v____. v- vCORRECT✅✅Both vA vand vB
The vrule vof vthumb vis vto vuse v____ vfor vheadings von va vweb vpage. v-
vCORRECT✅✅serif
In vthe vfigure vabove, vitem v_____ vpoints vto va vstyle vrule vthat vis vnot vapplied vto vthe
vselected velement. v- vCORRECT✅✅color: vred; v"crossed vout"
A vcustom vfont vis vanother vname vfor va vfont vfamily. vT vor vF v- vCORRECT✅✅True
A v____ vis va vcategorization vof va vWeb vpage velement, vbut vit vis vbased von va
vrelationship vor vcondition vof vthe velement vat va vgiven vmoment, vrather vthan von va
vstatic vproperty vvalue. v- vCORRECT✅✅pseudo-class
A vCSS vcomment vstarts vwith v_____ v. v- vCORRECT✅✅/* vcomment v*/
"Arial, vhelvetica, vsans-serif" vis va vwidely vused vsans-serif vfont v____. v-
vCORRECT✅✅stack
In vthe vfigure vabove, vitem v____ vpoints vto vcode vused vto vcreate va vbullet. v-
vCORRECT✅✅•
By vdefault va vblock-level velement vis vrendered vwith va vline vbreak vbefore vand vafter. vT
vor vF v- vCORRECT✅✅True
In vthe vfigure vabove, vitem v____ vpoints vto va vchild velement. v- vCORRECT✅✅<meta
v.....>
The vshorthand vproperty vfor vfont vproperties vis vfont-style. vT vor vF v-
vCORRECT✅✅False
Although vyou vcan vlink vto vdocuments vin valmost vany vformat vfrom vyour vweb vpages,
vit's vimportant vto vkeep vin vmind vthat vJava vdocuments vare vthe vonly vones vthat vyour
vusers vare vguaranteed vto vbe vable vto vaccess. vT vor vF v- vCORRECT✅✅False