Web Design Midterm Test

31 August 2022
4.7 (114 reviews)
27 test answers

Unlock all answers in this set

Unlock answers (23)
question
Select the items below that can be used as a CSS Selector. A.an HTML element B.a class name C.an id name D.All of the above
answer
D.All of the above
question
Which of the following will configure all the span elements with red (#FF0000) text color? A.span { color: #FF0000; } B.#span { color: #FF0000; } C..span { color: #FF0000; } D.
answer
A.span { color: #FF0000; }
question
Which element is used to force the browser to display the next text or element on a new line? A.line B.newline C. br D.hr
answer
C. br
question
Different browsers and even different browser versions will display your web page ______. A.in exactly the same way B.in different ways C.only if you buy the browser D.only if you use HTML5.
answer
B.in different ways
question
To apply a style to one or more of elements on a web page, configure a CSS _____________. A.group B.id C.class D.attribute
answer
C.class
question
Use the ______ element to associate a web page with an external style sheet. A.target B.a C.include D.link
answer
D.link
question
Select the function of an e-mail link from the choices below. A.automatically send you an e-mail message with the visitor's e-mail address as the reply-to field B.launch the default e-mail application for the visitor's browser with your e-mail address as the recipient C.display your e-mail address so that the visitor can send you a message later D.link to your mail server
answer
B.launch the default e-mail application for the visitor's browser with your e-mail address as the recipient
question
Select the code below that uses CSS to configure a background color of #eaeaea for a web page. A.body {background-color:#eaeaea; } B.document {background-page:#eaeaea; } C.body {bgcolor:#eaeaea; } D.None of the above
answer
A.body {background-color:#eaeaea; }
question
Which of the following is the CSS property used to set the text color? A.bgcolor B.background-color C.color D.none of the above
answer
C.color
question
A ____________ is a sketch or blueprint of a web page that shows the structure (but not the detailed design) of basic page elements such as the logo, navigation, content, and footer. A.site map B.wireframe C.drawing D.hierarchy
answer
B.wireframe
question
According to the CSS rules of precedence, ______ styles override ________ styles. A.external, embedded B.embedded, inline C.inline, external D.external, inline
answer
C.inline, external
question
Which of the following is an HTML attribute that configures inline styles? A.link B.style C.id D.type
answer
B.style
question
Which of the following is the CSS property used to set the background color? A.bgcolor B.background-color C.color D.none of the above
answer
B.background-color
question
Which of the following is correct CSS syntax? A.p { color: #000000; } B.p { color=#000000; } C.p : color #000000; D.p { color;#000000; }
answer
A.p { color: #000000; }
question
Select the code below that will configure a background image called parchment.gif for a web page using CSS. A.body {background-image:url(parchment.gif); } B.document {background:parchment.gif; } C.body {background:parchment.gif'} D.body {background-color:parchment.gif;}
answer
A.body {background-image:url(parchment.gif); }
question
When CSS is coded in the body of the web page as an attribute of an HTML tag it is called ________. A.Embedded B.Inline C.External D.Imported
answer
B.Inline
question
The text contained between title tags is: A.Not displayed by browsers B.Displayed in the title bar of the browser window C.Not used by search engines D.Never seen by your web page visitor.
answer
B.Displayed in the title bar of the browser window
question
Which type of selector is specified by placing a # symbol in front of the selector name? A.tag B.first C.class D.id
answer
D.id
question
What element is used to create the largest heading? A.h1 B.h9 C.head D.h
answer
A.h1
question
What element is used to configure a new paragraph? A.new B.paragraph C.p D.div
answer
C.p
question
To apply a style to exactly one element on a web page, configure a CSS _____________. A.group B.id C.class D.None of the above
answer
B.id
question
Select the code below that configures a class called "offer" with blue text using CSS. A.offer { color: blue; } B..offer { color: blue; } C..offer { text: blue; } D.#offer { color: blue; }
answer
B..offer { color: blue; }
question
Use the _____ element to code embedded styles on a web page. A.link B.style C.embed D.css
answer
B.style
question
Choose the attribute used to provide accessibility by configuring a text alternative that is available to browsers and other user agents that do not support graphics. A.alt B.text C.src D.height
answer
A.alt
question
An External Style Sheet uses the _____ file extension. A.ess B.css C.html D.No file extension is necessary
answer
B.css
question
The meta element is coded in the ___________ section of a web page document. A.body B.head C.footer D.DOCTYPE
answer
B.head
question
Where do you place the code to associate a web page with an external style sheet? A.in the external style sheet B.in the DOCTYPE of the web page document C.in the body section of the web page document D.in the head section of the web page document
answer
D.in the head section of the web page document