Mid-Term Flashcards
(23 cards)
Which HTML5 element is used to specify a footer for a document or section?
Which elements are no longer supported in HTML5?
<acronym></acronym>
In HTML5, onblur and onfocus are:
Event attributes
Which is the correct HTML5 element for playing video files?
Which is the correct HTML5 element for playing audio files?
Which attribute for elements is no longer required in HTML5?
Type
In HTML5, which method is used to get the current location of the user?
getCurrentPosition()
The new HTML5 global attribute, “contenteditable” is used to:
Specify whether the content of an element should be editable or not
In HTML5, contextmenu and spellcheck are:
HTML attributes
T or F:
In HTML5, you can embed SVG elements directly into an HTML page.
True
Graphics defined by SVG is in which format?
XML
The element in HTML5 is used to:
Draw graphics
Which built-in HTML5 object is used to draw on the canvas?
getContext
In HTML5, which attribute is used to specify that an input field must be filled out?
required
Which input type defines a slider control?
Range
Which input type defines a week and year control (no time zone)?
Week
Which HTML5 element is used to display a scalar measurement within a known range?
Which HTML5 element defines navigation links?
T or F:
Browsers remove extra spaces when displaying an HTML file.
True
In HTML5, what does the element define?
Content aside from the page content
Which HTML5 element is used to specify a header for a document or section?
Which HTML5 element defines an article?
Which doctype is correct for HTML5?