HTML5 Flashcards
Which two elements are for marking up superscript and subscript?
and
What is the correct HTML for making a text area?
The tag
Which structural element defines the bottom of a webpage and includes often site copyright, owner, contact info?
The
Why is the role of the doctype declaration?
To inform the browser about the HTML version being used in order to correctly interpret and render the markup.
What is the role of JavaScript in the web trifecta?
JavaScript allows the control of the behaviour of the website.
What are the four typical attributes for the element?
- Height
- Width
- Autoplay (play on page load)
- Controls (play, pause, volume, etc.)
What streaming, digital multimedia format is used to store video, audio, subtitles, and still images?
mp4
Which type of error is parsed by the browser and will still render?
Syntax errors
Which input type defines a slider control?
range
What defines the file type, such as text or video, and the extension, such as css or mp4, for a browser or user agent?
Multipurpose Internet Mail Extensions (MIME)
What is the child element of a element?
The element, the location of the video file.
Type= may be:
- mp4
- Ogg
- QuickTime
- WebM
- MPEG
What is the role of HTML in the web trifecta?
HTML creates the actual elements on a web page that can be assigned style and behaviour.
Graphics defined by SVG is in which format?
XML
What is an open-sourced audio and video format used for streaming digital multimedia?
Ogg.
What is the role of CSS in the web trifecta?
CSS allows the manipulation of how HTML elements appear.
What is a user agent?
What the W3C calls any application, such as browser or help engine, that renders HTML for display to users.
What file type provides a standard format for sound files on Windows-based computers?
WAV
Which attribute tells the player to restart a video as soon as it ends?
The loop attribute.
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 error describes improperly written code that does not accomplish what you intend for it to do?
Logic error.
Which attribute tells the player to display a static image on the video element while the video downloads or before the user selects play?
The poster attribute.
How do you open a link in a new tab / browser window?
Like so: “<a></a>”
Which structural element can group other elements or define portions or areas of the document as necessary?
The
What is the purpose of code validation?
Checking whether code is compliant to W3C standards.
Which HTML element is used to display a scalar measurement within a range?
The element
Which version of HTML had three distinct variants that ensured that you could still use the specification and still remain backward-compatible with older browsers?
HTML 4.01
What is an open-source media file format designed to stream video on the web?
WebM
Which structural element defines site content accompanying main content, specifying independent, self-contained content?
Forum posts Company services News articles Blogs Images Videos Tweets Social networking
What video codec is supported by HTML5-compliant browsers, does not require a plugin, and uses less battery and processing resources?
H.264
Why is it important to validate your code and correct all errors?
Better chance of pages rendering as you expect a larger audience.
What displays a webpage within a webpage?
iFrame
What is the correct HTML for making a text input field?
The
Which error describes spelling mistakes in code that will cause it not to work as expected?
Syntax error.
What is the significance of HTML5?
Newest version, 2014. Create fully scalable pages without the need for third party software.
Which structural element defines the main content of the document body?
The
What is responsive design?
Design technique that allows for pages to reformat dynamically based on the size of the browser or the screen resolution.
What file type provides a standard format for music files sent over the internet?
mp3
Which HTML element defines emphasized text?
<em></em>
Which HTML element defines important text?
<strong></strong>
What is the correct HTML for making a checkbox?
Like so: “
Which element allows for subtitling of videos?
The element.
E.g.:
What are structure-based tags?
HTML5 innovation meaning tags specifically designating their purpose relative to other elements (e.g., ).
Which structural element defines content aside from or additional to main article content?
Advertisements
News feeds
Highlighted resource links
Which structural element defines the area for navigational links?
The
Which HTML global attribute specifies whether the content of an element should be editable or not?
“contenteditable”
What is the correct HTML for making a dropdown list?
The element with tags inside the element
What is the child element of and which three formats does it accept?
The element accepting mp3, WAV, and Ogg.
E.g.:
Which HTML element defines the title of a document?
The tag
In HTML, onblur and unfocus are:
Event attributes
Which structural element defines the top of the webpage?
The