Unlock access to all the studying documents.
View Full Document
Unit B Structuring Content in a Web Document
1. User agents and screen readers are the same.
2. Character encoding is additional code within an opening element tag that specifies information about that element.
3. Web content should be brief and scannable.
4. Semantic elements are grouping elements in HTML5 that indicate the role of their content.
5. To avoid the risk of being misinterpreted by user agents, you use a UTF-8 character code when you want to add the &
symbol to your code.
6. Browsers display a page as if looking through an imaginary window, which is known as screenview.
7. A problem that results from incorrectly written code is known as a bug.
False
1
28
Unit B Structuring Content in a Web Document
8. When testing your website, you need to test it only in your favorite browser.
9. XHTML is similar to HTML but it needs additional code in some situations, such as closing one-sided tags.
10. XHTML does not include definitions for HTML5 semantic elements so you must replace HTML5 semantic elements
with div elements.
11. Debugging is an automated process of comparing code you’ve written against the HTML5 coding standards.
_________________________
12. A common bug is caused by a missing opening tag._________________________
13. The maximum-scale is the scale of the viewport when the document opens._________________________
14. A few commonly used characters have an abbreviation-based alternative code known as a numeric character reference.
_________________________
False – named
15. The footer element contains the main elements of site and page navigation._________________________
16. To make the code easier to read, child elements are usually indented under parent
elements._________________________
17. All HTML elements allow you to set attributes. _________________________
18. A widely used reference for implementing web accessibility is the WCAG, which is maintained by the W3C.
_________________________
19. Meta elements added to the html element generally do not change the accessibility of the document.
_________________________
20. The div element is usually a child element of other elements on your page. _________________________
21. The ____ element marks content that appears at the start of a document.
22. The numeric character reference for the greater than symbol (>) is ____.
1
36
Unit B Structuring Content in a Web Document
23. The viewport attribute property that allows a user to zoom in or out is _____.
24. Even though the viewport meta element supports many content options, you usually only need to use the width
value _____ .
25. Which of the following is a common cause for a special character not displaying as expected?
Closing > omitted from tag
# omitted from start of code
! missing from end of code
26. When you want to check your written code against current HTML coding standards, you should _____ it.
27. Tags must be written in lower case in _____ .
28. Tags may be closed out of order in _____ .
1
29. Attribute values may be enclosed in _____ .
30. One-sided tags must be closed in _____ .
31. The HTML5 semantic element that is used for a stand-alone piece of work, such as a single entry in a blog is a(n)
_____ .
32. Errors listed in the validator always include the ______ .
33. Which of the following is a common cause for an element to appear different than expected?
Missing tags around the content
Wrong tags used to close the element
34. Which of the following sets the lower limit on the scale of the viewport?
45
Unit B Structuring Content in a Web Document
35. Which is the character reference for a quotation mark?
36. Which is the numeric character reference for the apostrophe?
37. The code > is a(n) _______ .
numeric character reference
named character reference
38. ______ are grouping elements in HTML5 that indicate the role of their content.
39. While you can use the _____ as a parent element on your page to group related content but it has limited semantic
meaning.
40. An attribute is placed within ________ .
41. Which of the following is not a user agent?
1
37
Unit B Structuring Content in a Web Document
42. In order to meet web accessibility standards, your web pages needs to be _____ .
43. In the figure above, item ____ points to an attribute value.
44. In the figure above, item _____ points to a child element of a semantic element.
b
45. In the figure above, item _____ points to a semantic element.
46. In the figure above, the item ____ points to an opening tag containing an attribute.
47. In the figure above, item ____ points to an attribute value.
48. In the figure above, item ____ points to a child element.
49. In the figure above, item ____ points to an attribute name.
1
35
Unit B Structuring Content in a Web Document
50. Based on the figure above, the HTML document will be in what language?
51. In the figure above, item _____ is pointing to a numeric character reference.
52. In the figure above, item ____ points to a semantic element.
b
53. In the figure above, item _____ points to a named character reference.
54. In the figure above, item ____ points to an element that scales the page to fit the browser window.
55. In the figure above, item ____ points to code used to create a bullet.
Case-Based Critical Thinking Question
Roger has is developing a new website for a small chain of New York-style pizza parlors. He is exploring using HTML 5
semantic elements.
56. While doing his research, Roger discovers that the use of these semantic elements requires a(n) ____ to work properly
with IE8.
57. Roger would like to add comments from customers on the site. He will do this using a(n) _____ element.
58. Roger wants to give semantic meaning to the contact information, which is at the bottom of the web page. To do this
1
34, 35
Unit B Structuring Content in a Web Document
he will use a footer element as a ______ of the contact information.
Case-Based Critical Thinking Question
Erin is creating a pet sitting website. She wants the site to be easy to read on a mobile device.
59. Erin investigates different viewport attribute properties. She wants her web page to scale to fit a web browser, so
she will use width = _____ .
60. Erin is trying to decide if she wants user to be able to zoom a page. If she decides that she does, then she will use the
____ viewport attribute.
61. In the figure above, the section entitled “Encoding” is the ________________ encoding recognized in the meta tag
you entered
character
62. In the figure above, the entry in “Doctype” is detected from your DOCTYPE ________________.
63. Because recent versions of Internet Explorer interpret semantic elements in unexpected ways, you can ensure
compatibility by including a _____, which is more complex web code written in another programming language.
64. HTML5 introduced several ______ elements intended to give meaning to web page elements that were previously
created using div elements.
65. If a div element is used, the div element is the _______ element to the enclosed h2 and p elements.
66. To increase accessibility, many people with visual impairments use ________________ to access the web so that page
content can be read aloud.
67. The meta tag is a(n) ______ tag so it does not require a closing tag in HTML5.
68. Name three of the four goals your website should try to achieve in order to meet accessibility standards. Describe each
briefly.
69. What is the difference between debugging and validating your HTML code and why should you do both?
70. Please describe each of the following viewport attribute values: width, height, initial–scale, minimum–
scale, maximum–scale, user–scalable, and device–width. Which is the most commonly used attribute and
why?
71. Standalone piece of work, such as a single entry in a blog
72. Part of a page that is tangetial to the main page content
73. Main elements of site and page navigation
74. Content focused on a common theme, such as a chapter of a larger work
75. The information at the end of a web page, often contains the contact information