CIS307 Midterm

Ace your homework & exams now with Quizwiz!

The newest version of HTML is _____________. .

HTML5

Which tag configures the following text or element to display on a new line? a.<new line> b.<nl> c.<br> d.<line>

.<br>

Which tag configures a horizontal line on a web page? a.<br> b.<hr> c.<line> d.<h1>

.<hr>

Which tag pair configures a paragraph? a.<para> </para> b.<paragraph> </paragraph> c.<p> </p> d.<body> </body>

.<p> </p>

Select the item below that indicates the top-level domain name for the URL http://www.google.com. a.http b.com c.google d.www

.com

An External Style Sheet uses the___________ file extension. a.ess b.css c.htm d.No file extension is necessary

.css

Web page documents typically use the _____________ or _____________ file extension.

.htm .html

Which configures a class called news with red text, larger font, and Arial or a sans-serif font using CSS? a.news { text: red; font-size: large; font-family: Arial, sans-serif; } b..news { text: red; font-size: large; font-family: Arial, sans-serif; } c.#news { color: red; font-size: large; font-family: Arial, sans-serif; } d..news { color: red; font-size: large; font-family: Arial, sans-serif; }

.news { color: red; font-size: large; font-family: Arial, sans-serif; }

Which of the following configures a class called notes to float to the left? a..notes { left: float; } b..notes { float: left; } c..notes { float-left: 200px; } d..notes { position: float; }

.notes { float: left; }

Which of the following pseudo-classes is the default state for a hyperlink that has already been clicked? a.:hover b.:link c.:onclick d.:visited

:visited

Which of the following creates an image link to the index.html page when the home.gif graphic is clicked? a.<a href="index.html" src="home.gif" alt="Home"></a> b.<a href="index.html"><img src="home.gif" alt="Home"></a> c.<img src="home.gif" href="index.html" alt="Home"> d.<a src="home.gif"><img src="home.gif" alt="Home"></a>

<a href="index.html"><img src="home.gif" alt="Home"></a>

Which tag is used to hyperlink web pages to each other? a.<br> b.<hyperlink> c.<a> d.<link>

<a>

Which tag pair is the best choice to emphasize text with italic font on a web page? a.<b> </b> b.<strong> </strong> c.<em> </em> d.<bold> </bold>

<em> </em>

Which tag pair configures the largest heading? a.<h1> </h1> b.<h9> </h9> c.<h type="largest"> </h> d.<h6> </h6>

<h1> </h1>

Which of the following associates a web page with an external style sheet? a.<style rel="external" href="style.css"> b.<style src="style.css"> c.<link rel="stylesheet" href="style.css"> d.<link rel="stylesheet" src="style.css">

<link rel="stylesheet" href="style.css">

(True or False) A domain name that ends in .net indicates that the website is for a networking company.

False

_____________ is the set of markup symbols or codes placed in a file intended for display on a web browser.

HTML

The purpose of _____________ is to ensure the integrity of the communication. a.IP b.TCP c.HTTP d.FTP

TCP

Which statement is true? a.The W3C Markup Validation Service describes how to fix the errors in your web page. b.The W3C Markup Validation Service lists syntax errors in a web page. c.The W3C Markup Validation Service is only available to W3C members. d.None of the above statements are true.

The W3C Markup Validation Service lists syntax errors in a web page.

Choose the true statement: a.The title of the web page is displayed by the meta element. b.Information about the web page is contained in the body section. c.The content that displays in the browser viewport is contained in the head section. d.The content that displays in the browser viewport is contained in the body section.

The content that displays in the browser viewport is contained in the body section.

Why should you include height and width attributes on an <img> tag? a.They are required attributes and must always be included. b.They help the browser reserve the appropriate space for the image. c.They help the browser display the image in its own window. d.None of the above.

They help the browser reserve the appropriate space for the image.

(True or False) Markup languages contain sets of directions that tell the browser software how to display and manage a web document.

True

Which of the following would a consistent website design not have? a.a similar navigation area on each content page b.the same fonts on each content page c.a different background color on each page d.the same logo in the same location on each content page

a different background color on each page

Which attribute specifies text that is available to browsers and other user agents that do not support graphics? a.alt b.text c.src d.none of the above

alt

Which of the following can be a CSS selector? a.an HTML element name b.a class name c.an id name d.all of the above

an HTML element name, a class name, AND an id name

Which of the following is the CSS property used to set the background color? a.bgcolor b.color c.bcolor d.background-color

background-color

Which CSS property configures the background image of an element? a.background-color b.bgimage c.favicon d.background-image

background-image

Which of the following configures a graphic to repeat vertically down the side of a web page? a.background-repeat: repeat-x; b.background-repeat: repeat; c.valign="left" d.background-repeat: repeat-y;

background-repeat: repeat-y;

Which of the following configures a background color of #FFF8DC for a web page using CSS? a.body { background-color: #FFF8DC; } b.document { background: #FFF8DC; } c.body {bgcolor: #FFF8DC;} d.body { color: #FFF8DC; }

body { background-color: #FFF8DC; }

Which of the following do you configure to apply a style to more than one area on a web page? a.id b.class c.group d.link

class

Which of the following properties can be used to clear a float? a.float or clear b.clear or overflow c.position or clear d.overflow or float

clear or overflow

Which of the following is not a web design recommended practice? a.design your site to be easy to navigate b.colorful pages appeal to everyone c.design your pages to load quickly d.limit the use of animated items

colorful pages appeal to everyone

Which of the following is a color scheme that consists of two colors opposite each other on the color wheel? a.contrasting b.analogous c.split complementary d.complementary

complementary

Which of the following is a mobile web design best practice? a.configure a single-column page layout b.configure a multiple-column page layout c.avoid using lists to organize information d.embed text in images wherever possible

configure a single-column page layout

Which of the following causes an element to display without empty space above and below? a.display: block; b.display: static; c.display: none; d.display: inline;

display: inline;

Which of the following causes an element not to display? a.display: block; b.display: 0px; c.display: none; d.display: inline;

display: none;

What is a unique text-based Internet address corresponding to a computer's unique numeric IP address called? a.IP address b.domain name c.URL d.user name

domain name

Which of the following is the design technique used to create pages that stretch to fill the browser window? a.fixed b.fluid c.wireframe d.sprites

fluid

Which CSS property will configure the font typeface? a.font-face b.font-style c.font-family d.typeface

font-family

Which of the following are the three most common methods of organizing websites? a.horizontal, vertical, and diagonal b.hierarchical, linear, and random c.accessible, readable, maintainable d.none of the above

hierarchical, linear, and random

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

in the head section of the web page document

The home page of a website is typically named _______________ or _______________.

index.htm index.html

Which type of CSS is coded in the body of the web page as an attribute of an HTML tag? a.embedded b.inline c.external d.imported

inline

Which declaration configures an unordered list item with a square list marker? a.list-bullet: none; b.list-style-type: square; c.list-style-image: square; d.list-marker: square;

list-style-type: square;

Which of the following is an HTML5 element used to indicate navigational content? a.nav b.header c.footer d.a

nav

Which of the following is an example of using a descendant selector to configure the anchor tags within the nav element? a.nav. a b.a nav c.nav a d.#nav a

nav a

Which of the following configures a CSS class called news with red text (#FF0000) and light gray background (#EAEAEA)? a.news { color: #FF0000; background-color: #EAEAEA; } b..news { color: #FF0000; background-color: #EAEAEA; } c..news { text: #FF0000; background-color: #EAEAEA; } d.#news {color: #FF0000; background-color: #EAEAEA; }

news { color: #FF0000; background-color: #EAEAEA; }

Which of the following is the rendering flow used by a browser by default? a.HTML flow b.normal display c.browser flow d.normal flow

normal flow

What is the process of creating an image with the lowest file size that still renders a good-quality image—balancing image quality and file size? a.progressive enhancement b.optimization c.usability d.image validation

optimization

Which type of HTML list will automatically number the items for you? a.numbered list b.ordered list c.unordered list d.description list

ordered list

Which are the four principles of the Web Content Accessibility Guidelines? a.contrast, repetition, alignment, proximity b.perceivable, operable, understandable, robust c.accessible, readable, maintainable, reliable d.hierarchical, linear, random, sequential

perceivable, operable, understandable, robust

Which of the following is used along with the left, right, and/or top property to precisely configure the position of an element outside of normal flow? a.position: relative; b.position: absolute; c.position: float; d.absolute: position;

position: absolute;

What is the process of ensuring that web pages that are coded with new or advanced techniques are still usable in browsers that do not support the new techniques? a.validation b.progressive enhancement c.valid enhancement d.optimization

progressive enhancement

Which of the following recommended design practices applies to a website that uses images for its main site navigation? a.provide alternative text for the images b.place text links at the bottom of the page c.both a and b d.no special considerations are needed

provide alternative text for the images AND place text links at the bottom of the page

Which of the following is used to change the location of an element slightly in relation to where it would otherwise appear on the page? a.relative positioning b.static positioning c.absolute positioning d.fixed positioning

relative positioning

Which of the following describe two components of CSS rules? a.selectors and declarations b.properties and declarations c.selectors and attributes d.none of the above

selectors and declarations

Which of the following is an image file that contains multiple small graphics? a.thumbnail b.snap c.sprite d.float

sprite

Which of the following should you do when creating text hyperlinks? a.create the entire sentence as a hyperlink b.include the words "click here" in your text c.use a key phrase as a hyperlink d.none of the above

use a key phrase as a hyperlink

When should you code an absolute hyperlink? a.when linking to a web page that is internal to your website b.when linking to a web page that is external to your website c.always; the W3C prefers absolute hyperlinks d.never; absolute hyperlinks are obsolete

when linking to a web page that is external to your website

Which of the following is a sketch or diagram of a web page that shows the structure (but not the detailed design) of basic page elements? a.drawing b.HTML code c.site map d.wireframe

wireframe


Related study sets

History 2020 Exam II Dr. Arthur Banton

View Set

Solar System - Chapter 9 - matching

View Set

AP Chem Unit 6 Missed Questions AP Classrm

View Set

Alterations of Fluid and Electrolyte Balance Quiz

View Set

Immunology Chapter 18 - Immunodeficiency Diseases

View Set

Digital Marketing Chapter 9 Social Media 1

View Set

Mastering Geology Chapter. 16: Deserts and Wind

View Set