HTML Flashcards
Which HTML tag is a container for metadata?
head
Which HTML tag is used to specify multiple media resources for media elements?
source
Which HTML structure tag defines a thematic grouping of content, typically with a heading?
section
Which HTML structure tag defines content indirectly related to the surrounding content?
aside
Which HTML structure tag defines the bottom of the web page or a section of content?
footer
Which HTML tag is used to show a video on a web page?
video
What process ensures that your code complies with standards?
validation
What is an open-source media file format designed for streaming video on the Web?
WebM
Why is it important to validate your code and correct all errors?
you have a better chance of your pages rendering as you expect and to a larger audience
What file type provides a standard format for sound files on Windows-based computers?
WAV
What file type provides a standard format for music files sent over the Internet?
MP3
Which portion of this code is the tag?
<video controls=”controls” poster=”image.png”>
Your browser does not support the video element.
</video>
<video></video>
Which portion of this code is the attribute?
<audio controls=”controls”>
Your browser does not support the video element.
</audio>
controls=”controls”
Which element is used to create a bulleted list?
ul
Which element is used to create an ordered list?
ol
Why is it important to understand what goes on behind the GUI of a Web editor?
You will be able to troubleshoot code issues when the GUI Web editor fails.
Which HTML 4.01 flavor required the separation of presentation and content?
HTML 4.01 Strict
What attribute prevents the first frame of the video from displaying while the video is downloading?
poster attribute
What can be used to create apps for mobile devices?
HTML5 APIs
True or False: HTML5 APIs use fewer resources than a proprietary browser plug-in does, such as battery power and CPU memory
True
Which tag defines an unordered (bulleted) list?
ul
Which tag defines an ordered (numbered) list?
ol
Which tag defines a list item?
li
What is the first tag in an HTML document that informs the browser which version of HTML the Web page is written in?
<!DOCTYPE>
What is the traditional authoring language used to develop Webpages for many applications?
HTML (Hypertext Markup Language)
Which language is used to describe how HTML elements are to be displayed?
CSS (Cascading Style Sheets)
Which language is used to create dynamic, interactive capabilities?
JavaScript
Which is the latest version of HTML under development by the W3C?
HTML5
Which version of HTML incorporates the strict syntax rules of XML with the existing set of HTML 4.01 tags to create Web documents?
XHTML
Which version of HTML had three distinct variants that ensured that you could use the specification and still remain backward-compatible with older Web browsers?
HTML 4.01
What do we call the use of HTML5, CSS, and JavaScript when used together to create web pages?
Web Development Trifecta
What video codec is supported by HTML5-compliant browsers, does not require a plug-in, and uses less battery and processing resources?
H.264
What streaming, digital multimedia format is used to store video, audio, subtitles and still images?
MPEG-4 (MP4)
What is an open-source audio and video format used for streaming digital multimedia?
Ogg
What is a web design approach to create sites that adapt to many different devices?
Responsive Web Design (RWD)
What does the W3C call any application, such as a Web browser or help engine, that renders HTML for display to users?
user agent
Which HTML tag is used to play an audio file on a web page?
<audio>
Which HTML attribute specifies that the video will automatically play immediately upon loading?
autoplay=”autoplay”
Which HTML attribute specifies that the audio or video file will play over and over again without stopping?
loop=”loop”
Which HTML attribute specifies that the audio or video file has the ability to play, pause, rewind and adjust volume?
controls=”controls”
Which HTML attribute identifies an image to be displayed until the play button is clicked or while a video is downloading?
poster=”file.jpg”
What type of HTML5 tags clearly describe its meaning to both the browser and the developer?
Semantic/Structure Elements
Which HTML structure tag defines a container for introductory content?
header
Which HTML structure tag defines the main content of the document body?
main
Which HTML structure tag defines an area for navigation links?
nav
Which HTML structure tag defines independent, self-contained content that makes sense on its own?
article
Which tag defines the most important heading and displays it at the largest size?
h1
Which tag defines the least important heading and displays it at the smallest size?
h6
Which HTML attribute specifies the location of an external resource?
src