CSCE 102 Test 1

Lakukan tugas rumah & ujian kamu dengan baik sekarang menggunakan Quizwiz!

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

b

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;

b

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>

b

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

b

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

b

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

b

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

b

an external style sheet uses the _____ file extension a. ess b. css c. htm d. no file extenstion is necessary

b

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

b

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 new techniques? a. validation b. progressive enhancement c. valid enhancment d. optimization

b

when should you use 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

b

which are the four principles of the web content accessibility guidelines? a. contrast, repetition, alignment, and proximity b. perceivable, operable, understandable, and robust c. accessible, readable, maintainable, and reliable d. hierarchical, linear, random, and sequential

b

which css property can be used to resize or scale a background image? a. background-repeat b. background-size c. background-clip d. background-origin

b

which css property will configure a gradient background? a. background-gradient b. background-image c. background-clip d. linear-gradient

b

which css property will configure rounded corners? a. border b. border-radius c. radial d. margin

b

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

b

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

b

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

b

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;}

b

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

b

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

b

which of the following is the css property that configures a drop shadow effect on text? a. box-shadow b. text-shadow c. drop-shadow d. shadow

b

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;

b

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

b

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

c

which tag 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>

c

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

c

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;

d

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. complentary

d

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

d

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

d

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

d

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

d

T/F: Markup languages contain sets of directions that tell the browser software how to display and manage a web document

true

which of the following is used along with the width property to configure centered page content? a. margin-left: auto; margin-right: auto; b. margin: top-15, left-0, right-0, bottom-5; c. margin: 15px 0 5px 0; d. margin: 20px;

a

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

a

which of the following will configure a border that is 5 pixels wide, the color #330000, and a solid line? a. border: 5px solid #330000; b.border-style: solid 5px; c. border: 5px, solid, #330000; d. border: 5px line #330000;

a

which of the following, from outermost to innermost, are components of the box model? a. margin, border, padding, content b. content, padding, border, margin c. content, margin, padding, border d. margin, padding, border, content

a

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

a

web page documents typically use the _____or______ file extension

.htm, .html

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

a

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

B

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

B

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

B

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

D

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

a

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

HTML

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

a

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. accessibility

a

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;} body {bgcolor:#FFF8DC;} body {color: #FFF8DC;}

a

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

c

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

c

which css property configures the area between the content and the margin a. white-space b. box-shadow c. padding d. opacity

c

which css property configures the empty space between adjacent elements? a. padding b. border c. margin d. letter-spacing

c

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">

c

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

c

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

c

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

c

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

c

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

c

which of the following will configure padding that is 15 pixels on the top, 0 pixels on the left and right, and 5 pixels on the bottom? a. padding: 0 px 5 px 0px 15px; b. padding: top-15, left-0, right-0, bottom-5; c. padding: 15px 0 5px 0; d. padding: 0 0 15px 5px;

c

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

c

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

d

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 documnet d. in the head section of the web page document

d

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

d

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

d

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;

d

T/F: A domain name that ends in .net indicates that the website is for a networking company

false

T/F: The world wide web was developed to allow companies to conduct e-commerce over the Internet

false

the home age of a website is typically named_______ or _______

index.htm, index.html


Set pelajaran terkait

Understanding Patho Chapter 35 & 36 - Digestive System - GI Disorders

View Set

Chapter 6 Quizlet Canada New Book!

View Set

user mgmt and SQL Server Security pt 1

View Set

Who is Poor in America Today? | True/ False Quiz

View Set

Microbiology chp 11 The Diversity of Bacteria and Archaea

View Set

program design and leadership chapter 9!

View Set

Week 11 Digestive or GI System Physiology

View Set

Chapter 8: The Nerves System Autonomic Nervous System (ANS)

View Set