NAME

Question types


Start with


Question limit

of 204 available terms

Print test

204 True/False questions

  1. The DTD is simply a set of rules that help a Web browser turn tags and content into ___ ( html4)their parent tags.

          

  2. The main purpose of SVG, as its name implies, is to create ___scalable vector graphic shapes, but you can create images and text as well.

          

  3. A Web page with markup means it includes tags, which are ___keywords that help to give an HTML page structure.

          

  4. You can include attributes such as color, rotation, stroke color and size, and so on, to ___the attribute.

          

  5. <acronym> element is considered deprecated so use ___the <code> tag or CSS instead.

          

  6. raster images lose quality (they become pixelated) as you enlarge them, but vector images ___scalable vector graphic shapes, but you can create images and text as well.

          

  7. You should also use the codecs attribute to ___anywhere you would insert a PNG, JPG, or GIF

          

  8. When a Web browser reads a doctype declaration, the browser assumes that everything on the Web page uses the ___<!doctype html>

          

  9. A «vector image» is made up of ___lines and curves based on mathematical expressions.

          

  10. the «entity» &copy; represents the ___Copyright symbol (©), and its numerical code is &#169;

          

  11. SVG has a plethora of attributes, which help you create all kinds of ___shapes.

          

  12. to insert an image named bluelogo.png that's accessible from another Web site, type the following element: ___<img src="http://www.example.com/mrkt/images/bluelogo.png" alt="Company XYZ blue logo" />

          

  13. The "backup" content, also referred to as ___fallback content

          

  14. The «progress» element indicates the progress of ___a task towards completion.

          

  15. The <b> element should now be used to ___offset text without conveying importance, such as for keywords or product names.

          

  16. <time> element examples: ___Inserts an image from a file or another Web site.

          

  17. The <source> tag is being used as content of the video element so that the type attribute can be set and so that the multiple format option is available: ___the <del> tag instead for small amounts of text, or use CSS for large blocks of text.

          

  18. Because only the XML that describes the SVG graphic is transmitted, even large images don't require a lot of ___flexibility.

          

  19. The rule for nesting is that nested tags must be closed before ___their parent tags.

          

  20. HTML5 includes several «global attributes», which you can use with any HTML5 element. Examples of global attributes include ___id, lang, and class, etc

          

  21. HTML5 is less restrictive than HTML 4. You don't have to ___ for all elements (although some elements still require start and end tags), and you can enter tags in uppercase or lowercase.include end tags

          

  22. There are no hard and fast rules for choosing to use canvas or SVG. Your choice depends mainly on the nature of ___your project, and your skill level in one or the other.

          

  23. The HTML5 doctype is case-insensitive, so ___the keyword "doctype" can be uppercase or lowercase.

          

  24. The context.fillStyle method fills the rectangle with a blue color using the RGB values 0, 0, 255 : ___context.fillStyle = "rgb(0,0,255)";

          

  25. «audio» example: ___<audio src="x.mp3" controls="controls">
    </audio>

          

  26. One of the major benefits of SVG is its ___combination of tags and the content they enclose.

          

  27. The HTML5 specification requires that the whole meta element fits in the first 1,024 bytes of the document, which is why you include it at ___the top of the page in the head element.

          

  28. The canvas element requires the «id» attribute to reference the canvas in ___JavaScript and to add it to the Document Object Model (DOM).

          

  29. <a href=URL> ? ___Identifies the page as an HTML document.

          

  30. The <i> element now indicates content in an ___time or date, which can be made machine-readable with the «datetime» attribute.

          

  31. Hypertext Markup Language (HTML) is called a markup language because ___you use it to describe (mark up) pieces of content to display on a Web page.

          

  32. If you must create ___ that must scale well, go with SVG.highly detailed vector documents

          

  33. If you are ___, such as maps, map overlays, weather data, and so on, use canvas.displaying real-time data output

          

  34. poster? ___Applies boldface to text.

          

  35. <html> ? ___Identifies the page as an HTML document.

          

  36. <head>, contains markup and code used by the browser, such as ___the <del> tag instead for small amounts of text, or use CSS for large blocks of text.

          

  37. <img> ? ___Inserts an image from a file or another Web site.

          

  38. Hypertext Markup Language (HTML) uses markup to describe content for display on a ___you use it to describe (mark up) pieces of content to display on a Web page.

          

  39. <tt> element is considered deprecated so use ___emphatic stress/Emphasized text.

          

  40. To help ensure your audio plays on the majority of ___, use the source attribute to include multiple formats in your markup.browsers and devices

          

  41. HTML5 defines DOM methods, properties, and events for the <video> element. This allows you to ___load, play, and pause videos, as well as setting duration and volume.

          

  42. This simplified doctype is partially responsible for why HTML5 pages easily lend themselves for viewing in a ___deleted from a document.

          

  43. the <em> element indicates ___alternate voice or mood, like spoken text.

          

  44. Note that the strong element will look like the bold element. The W3C prefers that you use <strong> over ___<b>, although they seem to produce nearly identical results.

          

  45. character encoding ? ___Generally used to «anchor» a URL to text or an image; can also create a named «anchor» within a document to allow for linking to sections of the document.

          

  46. to insert an image named redball.jpg that's in a subfolder called images, type this element: ___<img src="images/redball.jpg" alt="Red ball graphic" />

          

  47. Some HTML 4 text-related elements now have slightly different ___meaning or functionality in HTML5.

          

  48. To add a fallback to your HTML document, replace the canvas element with the text (e.g.): ___<canvas id="smlRectangle" height="100" width="200"> Your browser does not support the canvas tag. </canvas>

          

  49. the «entity» &dollar; represents the ___Degree symbol (°), and its numerical code is &#176;

          

  50. An «entity» begins with an ampersand (&) and ends with a ___semicolon (;).

          

  51. These four tags ___ are required on every Web page.drawing, rendering, and manipulating images and graphics dynamically in HTML5.

          

  52. The W3C requires the «alt attribute» for accessibility by ___people with disabilities. People with limited vision may use a screen reader, which reads aloud the alternate text for each image.

          

  53. A tip from Microsoft: Think of canvas as being similar to ___. You can draw images using shapes and other tools, and the result is pixel based.Microsoft Paint

          

  54. This example shows the same audio file available in two formats: ___<audio controls="controls">
    <source src="x.ogg" type="audio/ogg" />
    <source src="x.mp3" type="audio/mp3" />
    </audio>

          

  55. the «entity» &percnt; represents the ___the type of figure you want to use in an HTML document, such as an illustration or photo.

          

  56. «attributes» ? ___keyword surrounded by angled brackets.

          

  57. The «figure» element specifies the type of figure you're adding, such as an image, diagram, photo, and so on. This element provides a major benefit: ___the ability to easily add multiple images side by side.

          

  58. You can display different kinds of images on a Web page, most of which fall into two main categories: ___keywords that help to give an HTML page structure.

          

  59. The basic syntax for the canvas element is as follows: ___<canvas id="smlRectangle" height="100" width="200"></canvas>
    <!-- This element creates your drawing pad. -->

          

  60. SVG technology is not new, but HTML5 now enables SVG objects to be embedded in Web pages without ___scalable vector graphic shapes, but you can create images and text as well.

          

  61. Nesting means ___to place one element inside another.

          

  62. Most tags come in pairs; one tag is called the opening or start tag, and the other is the
    ___
    closing or end tag.

          

  63. The following is an example of the markup for adding an MP4 file to a Web page: ___<video src="intro.mp4" width="400" height="300">
    </video>

          

  64. Every HTML page includes ___keyword surrounded by angled brackets.

          

  65. you can use the W3C's validation service at http://validator.w3.org to ___check and validate HTML code.

          

  66. A good example of an attribute is when creating a hyperlink, as follows: ___<a href="http://www.xpto.com">This is a link.</a>

          

  67. <title> ? ___Inserts an image from a file or another Web site.

          

  68. a best practice is to create pages assuming Web page visitors use a current or near-current browser, which means using ___specify the video format.

          

  69. This example shows the same video available in two formats, and the OGG format specifies codecs: ___<audio controls="controls">
    <source src="x.ogg" type="audio/ogg" />
    <source src="x.mp3" type="audio/mp3" />
    </audio>

          

  70. You may need to use «special characters» on a Web page, which requires ___character encoding.

          

  71. The following attributes are not used in HTML5, although these attributes are not actually part of any HTML specification: ___specify the video format.

          

  72. if you need to apply a lot of formatting to any Web page, it's best to use ___character encoding.

          

  73. A photograph is a type of raster image and is most often in JPG format. Other raster file formats that work well on Web pages are ___PNG, GIF, and BMP

          

  74. every Web page requires the «doctype declaration» at the ___best choice for multiple browser compatibility.

          

  75. loop? ___Applies boldface to text.

          

  76. Removing elements from the
    list of available HTML elements is referred to as ___
    deprecation. (The same thing applies
    to attributes.)

          

  77. Another important thing to know about character encoding in HTML5 is that you should use UTF-8 encoding whenever possible, because ___most browsers use UTF-8.

          

  78. HTML5 also includes many new elements that increase the ___deleted from a document.

          

  79. The «video» element enables you to ___a caption for the figure.

          

  80. Not all video formats are supported by all browsers, although MP4/H.264 is the most widely used by both ___scripts that add interactivity, and keywords to help search engines find the page.

          

  81. The new HTML5 doctype, in comparison, is very simple: ___<video src="/videos/x.mp4" width="400" height="300" poster="x.jpg" autoplay="autoplay" controls="controls" loop="loop">
    </video>

          

  82. this markup creates a first-level heading: ___<h1>Pet Care 101</h1>

          

  83. Blank lines and indents simply help you read the markup more ___easily in an editing tool.

          

  84. The <object> tag defines an ___keyword surrounded by angled brackets.

          

  85. HTML5 allows you to use a shorthand method of specifying the controls attribute: ___replace controls="controls" with simply «controls». The same principle applies to the «autoplay» and «loop» attributes.

          

  86. One benefit of making times and dates machine-readable on your Web page is that it helps ___<html>, <head>, <title>, and <body>

          

  87. To help make your video viewable by the majority of browsers and devices, you can use the source attribute to ___include multiple formats in your markup.

          

  88. You can include JavaScripts inside the ___to change the look and feel of text, images, and other Web content separates style from content.

          

  89. <center>, <basefont>, <big>, <font> element is considered deprecated so use ___CSS instead.

          

  90. The <html> tag encompasses everything on the page other than the ___deleted from a document.

          

  91. <applet> element is considered deprecated so use ___the <object> tag instead.

          

  92. Scalable Vector Graphics (SVG) is a language for describing ___2D graphics in Extensible Markup Language (XML).

          

  93. A closing tag is identical to an opening tag except the closing tag includes a ___slash before the keyword.

          

  94. The «canvas» element is used for ___emphatic stress/Emphasized text.

          

  95. The «figure» element specifies ___the type of figure you want to use in an HTML document, such as an illustration or photo.

          

  96. The main video formats along with codecs (for the last two) are: ___• MP4 or H.264
    • OGG + Theora with Vorbis audio
    • WebM + VP8

          

  97. New text-related elements in HTML5 include ___<command>, <mark>, and <time>, <meter> and <progress>..

          

  98. Canvas vs SVG: If the drawing is relatively small, use ___deleted from a document.

          

  99. the «entity» &euro; represents the ___Euro symbol (€), and its numerical code is &#8364;

          

  100. Not all tags describe data on their own or at least not in enough detail for rendering, so some elements must include ___«attributes», which are modifiers of HTML elements that provide additional information.

          

  101. Other attributes are available that you can add for control of the video: ___people with disabilities. People with limited vision may use a screen reader, which reads aloud the alternate text for each image.

          

  102. You use the «video» element along with the «src» attribute to designate a ___a video file to be played in an HTML document.

          

  103. Most tags come in pairs; one tag is called the ___, and the other is the
    closing or end tag.
    opening or start tag

          

  104. This markup refers to an MP4 video file: ___definition.

          

  105. «Compression» reduces the amount of space needed to store a file, and it reduces the ___bandwidth needed to transmit the file.

          

  106. To create an outline of a rectangle without a fill color, use the context.strokeRect method: ___browsers and devices

          

  107. A «raster image» is made up of ___are modifiers of HTML elements that provide additional information.

          

  108. The «doctype» is a declaration that is found at the ___Degree symbol (°), and its numerical code is &#176;

          

  109. HTML also uses some single tags, like <br /> for a line break and <hr /> for a ___HTML 4.

          

  110. <command>: The command element is used to define a command button that ___users click to invoke a command.

          

  111. With canvas, the Web page becomes a drawing pad, and you use JavaScript commands to ___<audio controls="controls">
    <source src="x.ogg" type="audio/ogg" />
    <source src="x.mp3" type="audio/mp3" />
    </audio>

          

  112. You can also use the <object> tag to embed another ___specify the codec(s), if applicable.

          

  113. DTD, which stands for ___ ( html4)to place one element inside another.

          

  114. Content in the ___ can also include formatting styles for the page.<head> tag

          

  115. With SVG, you provide ___Defines text as a paragraph.

          

  116. example of correct nesting: ___HTML 4.

          

  117. JavaScript works with the two-dimensional (2D) application programming interface (API) to actually draw items on the canvas: ___context = canvas.getContext("2d");

          

  118. Text between the <video> and </video> tags will only display in browsers that ___inserted into a document.

          

  119. autoplay? ___Start playing the video automatically upon page load

          

  120. <mark>: The mark element is very handy for ____time or date, which can be made machine-readable with the «datetime» attribute.

          

  121. In HTML 4, «single tags» are called «empty tags» because they don't require an ___end tag.

          

  122. Some older browsers cannot render canvas drawings or animation. Therefore, you should add an ___create and edit HTML documents.

          

  123. The «figure» and «figure caption» elements are new to HTML5, and give you more ___music and other sounds, in HTML documents.

          

  124. Along with a video format, you should also specify the «codec», which is a technology used for ___• MP4 or H.264
    • OGG + Theora with Vorbis audio
    • WebM + VP8

          

  125. The «audio» element enables you to incorporate audio, such as ___fraction of a known range.

          

  126. Attributes are easy to use and are just ___extensions of elements.

          

  127. Canvas also enables you to render ___text with various embellishments, and animate objects by making them move, change scale, and so on.

          

  128. In HTML 4, the doctype declaration specifies the ___DTD

          

  129. To use the «audio» element, include the <audio> tag and a path to the file on your hard drive or a ___uniform resource locator (URL) that points to the audio file.

          

  130. The following HTML elements are considered deprecated and are not supported in HTML5 pages: ___<acronym>, <applet>, <basefont>, <big>, <center>, <dir>, <font>, <frame>, <frameset>, <noframes>, <strike>, <tt>

          

  131. <p> ? ___Creates a heading, which can be first level (h1) through sixth level (h6).

          

  132. An «element» is the ___combination of tags and the content they enclose.

          

  133. A tip from Microsoft: Think of SVG as being similar to an ___ slide, which uses scalable objects.keywords that help to give an HTML page structure.

          

  134. The audio element and video element are two of the major changes in HTML5, enabling you to ___provide multimedia from a Web browser without the need for plugins.

          

  135. HTML5 is less restrictive than ___<p>Make sure your pet has plenty of <i><b>fresh water</b></i> during hot weather.</p>

          

  136. Cascading Style Sheets (CSS) : ___to change the look and feel of text, images, and other Web content separates style from content.

          

  137. HTML5 is less restrictive than HTML 4. You don't have to include end tags for all elements (although some elements still require start and end tags), and you can enter tags in ___include end tags

          

  138. In HTML 4, all <!DOCTYPE> declarations require a reference to a ___offset text without conveying importance, such as for keywords or product names.

          

  139. As the size of the screen increases and more pixels are needed, canvas begins to pixelate so use ___extensions of elements.

          

  140. the «entity» &deg; represents the ___Degree symbol (°), and its numerical code is &#176;

          

  141. <b> ? ___Displays the title of the Web page, which appears at the top of the Web browser, usually on the page's tab in a tabbed browser.

          

  142. A tag is a ___keyword surrounded by angled brackets.

          

  143. The «figcaption element» provides ___a caption for the figure.

          

  144. <head> ? ___Contains markup and code used by the browser, such as scripts that add interactivity, and keywords to help search engines find the page. Content in the <head> tag can also include formatting styles for the page.

          

  145. This script first finds the element with the id smlRectangle: ___var canvas = document.getElementById("smlRectangle");

          

  146. The context.fillRect method creates a 200-pixel wide x 100-pixel tall rectangle, positioned 10 pixels down and 20 pixels over from the upper-left corner of the canvas and fills it using the color specified by fillStyle: ___<head> tag

          

  147. Other popular Web video formats also include H.264, OGG, and ___• MP4 or H.264
    • OGG + Theora with Vorbis audio
    • WebM + VP8

          

  148. The <small> element should be used for ___small print, like a copyright line.

          

  149. The primary way to add images to an HTML document is with the ___very top of almost every HTML document.

          

  150. <dir> element is considered deprecated so use ___alternate voice or mood, like spoken text.

          

  151. The following markup uses the figure element, specifies the width and height of the image, and adds a caption: ___<figure>
    <img src="doghappy.jpg" alt="Happy dog" width="100" height="125" />
    <figcaption>Happy dogs are good dogs</figcaption>
    </figure>

          

  152. The three primary types of audio files supported by popular browsers are ___OGG, MP3, and WAV.

          

  153. The «meter» element indicates content that's a ___fraction of a known range.

          

  154. <time>: The time element indicates content that is a time or date, which can be made machine-readable with the ___fraction of a known range.

          

  155. The <strong> element indicates strong ___embedded object within an HTML document. Use this element to embed multimedia (like audio, video, Java applets, ActiveX, PDF, and Flash) in your web pages.

          

  156. You can also use SVG ___Displays a set of controls for playing, pausing, and stopping the video, and controlling the volume

          

  157. An «entity» is a special character, such as the ___dollar symbol, the registered trademark (a capital R within a circle), and accented letters.

          

  158. Vector graphic changes size to fit the screen on which it's displayed, whether the screen is on a 32-inch computer monitor or a ___XML

          

  159. You must include an attribute within a tag so that the Web browser knows how to handle ___webpage into your HTML document.

          

  160. If the drawing requires a large number of objects, use canvas. SVG begins to ___degrade as it continually adds objects to the DOM.

          

  161. A tag pair or an empty tag is also called an ___element. An element can describe content, insert graphics, and create hyperlinks.

          

  162. Notepad+++ offers features that make it easier to ___specify the video format.

          

  163. The "backup" content, also referred to as fallback content, won't display if ___canvas is supported.

          

  164. The «onload» attribute causes the JavaScript function in the script to run: ___<body onload = "f1();">

          

  165. Use the img element to display linked ___drawing, rendering, and manipulating images and graphics dynamically in HTML5.

          

  166. Scalable Vector Graphics (SVG) enables you to create ___scalable objects that resize to best fit the screen on which they're viewed, whether a PC screen or a smartphone.

          

  167. it's best to use a variety of Web browsers to ensure your markup ___renders as expected for the widest audience.

          

  168. The «figcaption element» is optional. It adds a caption to an image on a Web page, and you can display the caption ___alternate voice or mood, like spoken text.

          

  169. Notice that the attribute and its value are both ___inside a tag.

          

  170. A best practice is to use the type attribute to ___extensions of elements.

          

  171. <time>: The time element indicates content that is a ___«datetime» attribute.

          

  172. When a Web browser or mobile device such as a smartphone opens an HTML file, it ___renders (interprets and reproduces) the content of the page.

          

  173. For the most part, MP3 is the ___keyword surrounded by angled brackets.

          

  174. Generally, use canvas for small screens, such as those on ___dollar symbol, the registered trademark (a capital R within a circle), and accented letters.

          

  175. <mark> element example: ___<p>Your dog is a <mark style="background-color:orange;"> friend for life</mark>.

          

  176. Because of how HTML5 was created, it doesn't require ___a reference to a DTD.

          

  177. <body>? ___Applies boldface to text.

          

  178. controls? ___Displays a set of controls for playing, pausing, and stopping the video, and controlling the volume

          

  179. The «canvas» element is new in HTML5 and creates a container for ___small print, like a copyright line.

          

  180. <hx> ? ___Creates a heading, which can be first level (h1) through sixth level (h6).

          

  181. All phrase tags (from w3schools) :<em>, <strong>, <code>, <samp>, <kbd>, <var>

          

  182. The <ins> tag defines a text that has been ___importance.

          

  183. HTML also uses some single tags, like <br /> for a ___ and <hr /> for a horizontal line.functionality of Web pages or streamline the markup.

          

  184. Search engines also use the «alt attribute» to identify types of images and what's in them, since search engines can't ___"see" pixels in images.

          

  185. The <del> tag defines text that has been ___incorporate videos in HTML documents using minimal code.

          

  186. Each «special character» that can be reproduced in a Web page has an ___<canvas id="smlRectangle" height="100" width="200"></canvas>
    <!-- This element creates your drawing pad. -->

          

  187. The following markup is for a figure with multiple images that share a single caption, the results of which are: ___<svg id="svgpurpball" height="200" xmlns="http://www.w3.org/2000/svg">
    <circle id="purpball" cx="40" cy="40" r="40" fill="purple" />
    </svg>

          

  188. you should use UTF-8 encoding whenever possible, because most browsers use UTF-8. That means you add the following declaration to the head element: ___<meta charset="UTF-8">

          

  189. You can easily identify an HTML document because it has an ___.htm or .html file extension.

          

  190. Text between the <audio> and </audio> tags will display in browsers that ___webpage into your HTML document.

          

  191. These four tags <html>, <head>, <title>, and <body> are required on ___every Web page.

          

  192. In Internet Explorer 9, you can press F12 to open browser mode. This mode enables you to edit pages without leaving the browser. In addition, you can click «Document Mode» on the menu bar and then ___select an older version of the browser to see how a page renders.

          

  193. The following markup can be included in an HTML file to create a purple ball: ___<svg id="svgpurpball" height="200" xmlns="http://www.w3.org/2000/svg">
    <circle id="purpball" cx="40" cy="40" r="40" fill="purple" />
    </svg>

          

  194. The <code> tag is a phrase tag. It defines a ___piece of computer code.

          

  195. The blank lines between parts of the page, such as between the doctype declaration and the <html> tag, don't ___appear on a Web page.

          

  196. «Video compression» reduces the size of video images while retaining the highest quality video with the minimum ___. All of this makes for better performance.a task towards completion.

          

  197. "replace the «italic» and «bold» tags with the ___«strong» element"

          

  198. the «entity» &reg; represents the ___the type of figure you want to use in an HTML document, such as an illustration or photo.

          

  199. When two or more elements apply to the same block of text, you should nest tag pairs appropriately so that ___they do what you intended.

          

  200. You add attributes to elements according to this basic syntax: ___the <del> tag instead for small amounts of text, or use CSS for large blocks of text.

          

  201. Tags surround content and give it ___definition.

          

  202. The «img» element uses several attributes: ___drawing, rendering, and manipulating images and graphics dynamically in HTML5.

          

  203. <strike> element is considered deprecated so use ___the <del> tag instead for small amounts of text, or use CSS for large blocks of text.

          

  204. In addition, SVG can be indexed by search engines because it's created by ___..htm or .html file extension.