Chapter 3: Multiple Choice

Ace your homework & exams now with Quizwiz!

The img element that follows gets the image file from the images folder, which is <p><img src="../images/logo.gif" alt="Murach Logo"></p> a.at the level above the current folder b.at the level below the current folder c.at the same level as the current folder d.at two levels above the current folder

at the same level as the current folder

What character entity is created by the &nbsp; character? a.& b.© c.® d.a space

b

Three inline elements are a.nav, b, and span b.b, a, and img c.li, img, and h1 d.a, img, and ul

b, a, and img

Which of the following should you do to provide accessibility to img elements with useful content? a.Code an src attribute with an absolute URL. b.Code an alt attribute that describes the image. c.Use a PNG image. d.Provide an alternate image.

Code an alt attribute that describes the image

The class attribute a.can be applied to only one element in an HTML document b.determines the priority level of an HTML element c.determines the copy that will be displayed when the mouse hovers over an element d.can be used by CSS to apply the same formatting to more than one HTML element

can be used by CSS to apply the same formatting to more than one HTML element

When the code that follows is loaded into the browser, it <h2>About this book</h2> a.displays "About this book" in the default h2 format b.displays "ABOUT THIS BOOK" in the default paragraph format c.displays "About this book"in the default paragraph format d.displays "ABOUT THIS BOOK" in the default h2 format

displays "About this book" in the default h2 format

The img element that follows<p><img src="../images/logo.gif" alt="Murach Logo"></p> a.displays "Murach Logo" above the image that's retrieved b.displays "Murach Logo" within a p element c.displays "Murach Logo" if the image can't be found d.displays the image as text within a p element

displays "Murach Logo" if the image can't be found

The <a> element that follows <a href="update.html">Update</a> a.displays "Update" as a link b.displays "update.html" as a link c.displays "Update" as plain text d.displays "update.html" as plain text

displays "Update" as a link

The <a> element that follows goes to a web page <a href="books/javscript.html">JavaScript and DOM Scripting</a> a.in the same folder as the current page b.in a folder that is subordinate to the current page c.in another folder that is at the same level as the current page d.in a folder that is subordinate to the root folder for the web site

in a folder that is subordinate to the current page

By default, the <br> tag a.breaks a page into two parts b.starts a new line of text c.displays text in bold d.creates a link

starts a new line of text

The title element in the head section of an HTML document specifies the text a.that's used to refer to the document b.that's used to refer to the application c.that's displayed in the title bar of the browser d.that's displayed in the status bar of the browser

that's displayed in the title bar of the broswer


Related study sets

research methods - exam 1 practice questions

View Set

Linguistics Final he he he he he he he he he he he he he he he

View Set

Mental Chapter 25- The Aging Individual

View Set

ap environmental science unit 9 test review

View Set

Advanced Business Chapter 2: Entrepreneurs in Market Economy

View Set

Arkansas Statutes, Rules, and Regs for Life and Health Insurance

View Set