Font size
WorksheetsHTML and Media Attributes Worksheet
Total questions: 20
Worksheet time: 10mins
What video format was developed by Apple, and will play on any computer that has a QuickTime player installed?
.MOV
.OGG
AVI
.WEBM
What format was created by Google to be a free, open source video format?
.MOV
.WEBM
.OGG
AVI
FLV is the file extension for what type of video file?
Flash
HTML video
Flex
QuickTime
The element that is repeated within an < audio > or < video > element to list several different file formats for the same video is:
Which of the following questions should you consider when selecting a video, audio, or animation clip to display on your website?
Is it ethical? Do you have clear moral rights in addition to legal rights?
Is it appropriate? Does the file match your website and target audience?
All of these questions should be considered
Is it legal? Do you have permission to use the file?
What < video > attribute should you use if you want to control how the file or meta-data information is retrieved by the browser?
loop
controls
preload
autoplay
What < audio > attribute should you use to turn off the sound?
(a)
How can you display a fallback message in older browsers that do not support HTML5 < audio > or < video > elements?
Add an “alt” attribute to each < source > element
Add a < caption > element inside the < audio > or < video >
Add a line of text after the last < source > element
Add a “summary” attribute to the < audio > or < video >
Which of the following statements is true about the Flash format?
Flash cannot be embedded on HTML5 pages
All Apple iOS devices come with built-in Flash support
Flash is still popular, but will eventually be replaced by newer formats
Flash is the one and only way to display videos today
It is best practice to start playing audio and video automatically when the web page is loaded.
True
False
Videos directly linked with an anchor element will:
be downloaded or opened in a new tab when the link is clicked.
automatically play within the page when the link is clicked.
replace the current page content with the video player.
embed the video inline without any additional code.
Which of the following examples will add a Flash movie into your web page?
< flash src="myMovie.swf" width="400" height="400" >
< embed src="myMovie.swf" width="400" height="400" >
< video src="myMovie.swf" width="400" height="400" >
< object href="myMovie.swf" width="400" height="400" >
How can you embed YouTube videos in your web page?
Pay a license fee to YouTube to get the necessary HTML code
When viewing the video, click on Share, then Embed, and copy the resulting HTML code into your HTML page
Directly link to the video on the YouTube site with an anchor < a >
You cannot embed YouTube videos, and can only watch them on YouTube's website
Which of the following are valid < video > attributes?
controls
height
What is the purpose of having multiple < source > elements within your < video >?
To place multiple copies of the video on the page in different areas
To provide alternate info for browsers that do not support the < video > tag
To provide alternate formats that all browsers might understand
To provide backup copies in case one version is damaged
What < source > attribute contains the video filename or URL?
href
src
video
type
What < video > attribute should you use to display buttons like pause and play?
autoplay
buttons
loop
controls
What audio format works on Windows and includes copy protection features?
AIFF
OGG
MP3
WMA
Which of these audio formats is NOT supported with the HTML5 < audio > element?
OGG
WAV
AIFF
MP3
What < audio > attribute should you use if you want the audio to play endlessly?
muted
autoplay
loop
controls
