HTML and CSS Reference
In-Depth Information
When implementing the HTML5 video element, how do you ensure that the rendering
of the element can function in different browsers?
A. You need to do nothing, because HTML5 is now a standard specification.
4.
Specify all the source video types in the src attribute of the video element.
B.
Include the <source> element for each video type so that each browser can play
the version that it supports.
C.
Include the <object> element for each video type so that the browser can play the
version that it supports.
D.
When drawing on the HTML5 <canvas> element, what method is used on the context
to begin drawing at a new point?
A. moveTo
B. lineAt
C. beginPath
5.
stroke
D.
When performance is critical for an HTML5 graphics application, what should you use?
A. <canvas> using a declarative syntax to create the graphics
B. <svg> using a declarative syntax to create the graphics
C. <canvas> using JavaScript to create the graphics
D. <svg> and <canvas> combination to leverage the best performance of both
6.
Objective 1.3: Apply styling to HTML elements
programmatically
The section covers applying styles to the HTML elements on the page dynamically, using
JavaScript. When you retrieve element references by using methods such as getElementById ,
you can then manipulate those elements, including their styles.
This objective covers how to:
Change the location of an element
Apply a transform
Show and hide elements
 
 
Search WWH ::




Custom Search