WEB DESIGN LESSON 7 QUESTIONS
WITH CORRECT ANSWERS
YouBareBembeddingBaBvideoBinByourBWebBpageBandBwantBtoBincorporateBtheBplay,Bpause,Brewind,BfastBforw
ardBandBvolumeBvideoBcontrols.BWhichBattributeBisBneededBtoBaccomplishBthis?B-BcorrectBanswer-
controls="controls"
YouBareBembeddingBaBvideoBinByourBWebBpage.BWhatBthreeBformatsBshouldByouBspecifyBinBtheB<source>Bel
ementBtoBensureBthatBmostBbrowsersBandBdevicesBcanBaccessByourBvideo?B-BcorrectBanswer-
MP4BWebMBandBOgg
ConsiderBtheBfollowingBHTMLBcode:
<videoBwidth="360"Bheight="270"Bcontrols="controls"Bposter="image.png">
<sourceBsrc="video.mp4"Btype="video/mp4"B/>
<sourceBsrc="video.webm"Btype="video/webm"B/>
<sourceBsrc="video.ogg"Btype="video/ogg"B/>
YourBbrowserBdoesBnotBsupportBtheBHTML5BvideoBelement.
</video>
WhatBattributeBpreventsBtheBfirstBframeBofBtheBvideoBfromBdisplayingBwhileBtheBvideoBisBdownloading?B-
BcorrectBanswer-theBposterBattribute
ForBwhatBshouldByouBuseBtheBcontrolsBattributeBofBtheB<video>Belement?B-BcorrectBanswer-
toBaddBvideoBcontrolsBsuchBasBtheBplay,Bpause,BrewindBandBvolumeBcontrols
TheB<video>BelementBsupportsBwhichBthreeBformats?B-BcorrectBanswer-MP4BWebMBandBOgg
HTML5BprovidesBnativeBsupportBforBanimation,BmoviesBandBotherBmultimediaBwithoutBtheBuseBofBplug-
ins.BWhichBelementsBdoesBHTMLBprovideBtoBallowBdevelopersBaBstandardBmethodBtoBembedBvideoBandBau
dioBintoBtheirBWebBpages?B-BcorrectBanswer-theB<video>BandB<audio>Belements
, YouBareBembeddingBaudioBinByourBWebBpageBandBwantBtoBspecifyBthatBtheBaudioBfileBshouldBplayBoverBand
BoverBagainBwithoutBstopping.BWhichBattributeBisBneededBtoBaccomplishBthis?B-BcorrectBanswer-
loop="loop"
YouBareBembeddingBaudioBinByourBWebBpageBandBwantBtoBspecifyBthatBtheBaudioBfileBshouldBplayBimmedia
telyBuponBloading.BWhichBattributeBisBneededBtoBaccomplishBthis?B-BcorrectBanswer-autoplay="autoplay"
ConsiderBtheBfollowingBHTMLBcode:
<audio>
<sourceBsrc="audio.mp3"Btype="audio/mpeg"B/>
<sourceBsrc="audio.wav"Btype="audio/wav"B/>
<sourceBsrc="audio.ogg"Btype="audio/ogg"B/>
YourBbrowserBdoesBnotBsupportBtheBHTML5BaudioBelement.
</audio>
WhichBattributeBandBvalueBmustByouBaddBtoBtheB<audio>BelementBtoBincorporateBdefaultBaudioBoperation
sBsuchBasBplay,Bpause,Bvolume,Betc.?B-BcorrectBanswer-controls="controls"
TheB<audio>BelementBsupportsBwhichBthreeBformats?B-BcorrectBanswer-MP3BOggBandBWav
WhatBattributeBshouldByouBaddBtoBtheB<audio>BelementBifByouBwantByourBaudioBtoBplayBoverBandBoverBaga
inBwithoutBstopping?B-BcorrectBanswer-loop="loop"
WhichBstatementBaccuratelyBdescribesBaBvectorBgraphic?B-BcorrectBanswer-
ItBusesBmathematicalBcoordinatesBwithBlines,BcurvesBandBshapesBtoBcreateBimagesBandBspecifyBcolors.
whichBimageBand/orBanimationBformatBisBbasedBonBbitmaps?B-BcorrectBanswer-
portableBnetworkBgraphicsB(PNG)
whichBofBtheBfollowingBdoBrasterBgraphicsBrefer?B-BcorrectBanswer-bitmapBgraphics
WITH CORRECT ANSWERS
YouBareBembeddingBaBvideoBinByourBWebBpageBandBwantBtoBincorporateBtheBplay,Bpause,Brewind,BfastBforw
ardBandBvolumeBvideoBcontrols.BWhichBattributeBisBneededBtoBaccomplishBthis?B-BcorrectBanswer-
controls="controls"
YouBareBembeddingBaBvideoBinByourBWebBpage.BWhatBthreeBformatsBshouldByouBspecifyBinBtheB<source>Bel
ementBtoBensureBthatBmostBbrowsersBandBdevicesBcanBaccessByourBvideo?B-BcorrectBanswer-
MP4BWebMBandBOgg
ConsiderBtheBfollowingBHTMLBcode:
<videoBwidth="360"Bheight="270"Bcontrols="controls"Bposter="image.png">
<sourceBsrc="video.mp4"Btype="video/mp4"B/>
<sourceBsrc="video.webm"Btype="video/webm"B/>
<sourceBsrc="video.ogg"Btype="video/ogg"B/>
YourBbrowserBdoesBnotBsupportBtheBHTML5BvideoBelement.
</video>
WhatBattributeBpreventsBtheBfirstBframeBofBtheBvideoBfromBdisplayingBwhileBtheBvideoBisBdownloading?B-
BcorrectBanswer-theBposterBattribute
ForBwhatBshouldByouBuseBtheBcontrolsBattributeBofBtheB<video>Belement?B-BcorrectBanswer-
toBaddBvideoBcontrolsBsuchBasBtheBplay,Bpause,BrewindBandBvolumeBcontrols
TheB<video>BelementBsupportsBwhichBthreeBformats?B-BcorrectBanswer-MP4BWebMBandBOgg
HTML5BprovidesBnativeBsupportBforBanimation,BmoviesBandBotherBmultimediaBwithoutBtheBuseBofBplug-
ins.BWhichBelementsBdoesBHTMLBprovideBtoBallowBdevelopersBaBstandardBmethodBtoBembedBvideoBandBau
dioBintoBtheirBWebBpages?B-BcorrectBanswer-theB<video>BandB<audio>Belements
, YouBareBembeddingBaudioBinByourBWebBpageBandBwantBtoBspecifyBthatBtheBaudioBfileBshouldBplayBoverBand
BoverBagainBwithoutBstopping.BWhichBattributeBisBneededBtoBaccomplishBthis?B-BcorrectBanswer-
loop="loop"
YouBareBembeddingBaudioBinByourBWebBpageBandBwantBtoBspecifyBthatBtheBaudioBfileBshouldBplayBimmedia
telyBuponBloading.BWhichBattributeBisBneededBtoBaccomplishBthis?B-BcorrectBanswer-autoplay="autoplay"
ConsiderBtheBfollowingBHTMLBcode:
<audio>
<sourceBsrc="audio.mp3"Btype="audio/mpeg"B/>
<sourceBsrc="audio.wav"Btype="audio/wav"B/>
<sourceBsrc="audio.ogg"Btype="audio/ogg"B/>
YourBbrowserBdoesBnotBsupportBtheBHTML5BaudioBelement.
</audio>
WhichBattributeBandBvalueBmustByouBaddBtoBtheB<audio>BelementBtoBincorporateBdefaultBaudioBoperation
sBsuchBasBplay,Bpause,Bvolume,Betc.?B-BcorrectBanswer-controls="controls"
TheB<audio>BelementBsupportsBwhichBthreeBformats?B-BcorrectBanswer-MP3BOggBandBWav
WhatBattributeBshouldByouBaddBtoBtheB<audio>BelementBifByouBwantByourBaudioBtoBplayBoverBandBoverBaga
inBwithoutBstopping?B-BcorrectBanswer-loop="loop"
WhichBstatementBaccuratelyBdescribesBaBvectorBgraphic?B-BcorrectBanswer-
ItBusesBmathematicalBcoordinatesBwithBlines,BcurvesBandBshapesBtoBcreateBimagesBandBspecifyBcolors.
whichBimageBand/orBanimationBformatBisBbasedBonBbitmaps?B-BcorrectBanswer-
portableBnetworkBgraphicsB(PNG)
whichBofBtheBfollowingBdoBrasterBgraphicsBrefer?B-BcorrectBanswer-bitmapBgraphics