Building the user interface by using html 5[text graphics and media]

1. The variable named “ctx” is the context of an HTML5 canvas object. What does the following code fragment draw? ctx.arc(x, y, r, 0, Math.PI, true);
2. You are creating a page by using HTML5. You add script tags to the page. You need to use JavaScript to access an element by id and add a class to the element. Which property or attribute should you use?
3. Which code fragment sets up a timer that calls a function named “adjust” every second?
4. What does the following HTML5 code fragment do?
<video controls>
<source src="myVacation.avi" type="video/avi">
<source src="myVacation.ogg" type+"video/ogg">
</video>
5. Which are two features of SVG? Select "Yes" for your answer. (Choose two.)
6. What does “V” stand for in the file type SVG?
7. Which attribute prefills a default value for an input element in HTML5?
8. Which two outcomes will this code fragment accomplish? Each correct answer presents a complete solution. (Choose two.)
<audio src="happy.wav' controls="controls">
Hello World
</audio>
9. Which three technologies does HTML5 encompass? (Choose three.)
10. You create an interface for a touch-enabled application. You discover that some of the input buttons do not trigger when you tap the screen. You need to identify the cause of the problem. What are two possible causes? (Choose two.)
11. An HTML5 application can run without an Internet connection if:
12. You add script tags to an HTML page. You need to update the text value within a specific HTML element. You access the HTML element by id. What should you do next?
13. Which two semantic tags are used to define layouts in HTML5? (Choose two.)
14. In HTML5, the autofocus attribute:
15. Which code fragment will display an image file while the video is downloading?
16. Which term describes the canvas API?
17. Which code fragment prepares the HTML5 application to be used offline?
18. You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com. ABC.com makes use of HTML and CSS3 in their development process. You have been instructed to alter the text value of an HTML element. You are planning to make use of the innerHTML property. Which of the following is TRUE with regards to the innerHTML property? (Choose all that apply.)
19. You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com. You are running a training exercise for junior developers. You are currently discussing an HTML5 input attribute that provides a way to set default text until focus is placed in an element. Which of the following is the input attribute being discussed?
20. You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com. You are running a training exercise for junior developers. You are currently discussing an HTML5 tag that identifies an inline text container. Which of the following is the tag being discussed?
21. You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com. ABC.com makes use of HTML5 and CSS3 in their development process. You are running a training exercise for junior developers. You are currently discussing Scalable Vector Graphics (SVG). You have reached the section that deals with presentation elements and their corresponding attributes and DOM interfaces. Which of the following is included in this section?
22. You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com. You are running a training exercise for junior developers. You are currently discussing Scalable Vector Graphics (SVG). Which of the following is TRUE with regards to SVG?  (Choose 2 that apply.)

Name Email

Leave a Comment

Your email address will not be published. Required fields are marked *