CIS 308 Website Administration

¡Supera tus tareas y exámenes ahora con Quizwiz!

1. To provide the top-level formatting for a page, a style sheet commonly formats a. body and HTML5 semantic elements b. classes c. universal selectors d. attributes

a

3. Three of the common CSS selectors select a. by element type, id attribute, and class attribute b. div, h1, and p elements c. by element, header, and footer d. h1, ul, and li elements

a

3. To remove the underlining from an <a> element, you can use CSS to set its a. text-decoration property to none b. text-decoration property to off c. underline property to none d. underline property to off

a

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

a

5. The RGBA and HSLA colors that are available with CSS3 let you specify a. the opacity of the color b. the concentration of the color c. a pattern for the color d. a name for the color

a

6. To load a web page into a web browser, you can a. type the URL of the web page into the browser's address bar b. type just the filename of the web page into the browser's address bar c. type the domain name of the web page into the browser's address bar d. click the browser's Back button

a

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

a

9. If two CSS rules conflict, which of the following rules overrides the other rule? a. the rule marked as !important in a web page b. the normal rule in a web page c. the normal rule in a user style sheet d. the default rule for the web browser

a

For a two-column layout where the main section is liquid and the aside is fixed, you use CSS to a.set the body width to a percent and don't set the section width b.set the body with to a fixed width and set the section width to a percent c.set both the body and section widths to percents d.set the body width to fixed width and don't set a section width

a

To remove the underlining from an <a> element, you can use CSS to set its a. text-decoration property to none b. text-decoration property to off c. underline property to none d. underline property to off

a

When you set the float property for a block element to left, the elements that follow it will flow into the space a.to the left of the floated element b.to the right of the floated element c.to the left of the floated element if there's enough space d.to the right of the floated element if there's enough space

a

When you set the position property for a block element to absolute, the browser a. takes the element out of the flow of elements on the web page b. keeps the element in the flow of elements on the web page c. doesn't allow the element to overlap other elements on the web page d. positions the element relative to the browser window

a

1. A valid HTML document requires a. a head element and a page element b. a head element and a body element c. a body element and a div element d. a page element and a div element

b

1. To change the left alignment of the items in an unordered list, you set the a. left margin for the ul element b. left padding for the ul element c. left margin for each li element d. left padding for each li element

b

10. Which of the following selectors is most specific? a. .nav b. #nav c. a d. div

b

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

b

12. Which of the following can you NOT do when adding shadows to text? a. Set the color of the shadow. b. Set the opacity of the shadow. c. Set the horizontal and vertical offset. d. Determine how much the shadow is blurred.

b

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

2. When a client requests a dynamic web page, the HTML is generated by a. the web server b. an application server c. a database server d. the web browser

b

2. When you use an external style sheet with an HTML document, you get all but one of the benefits that follow. Which one is it? a. Your HTML files are smaller and simpler b. Your CSS files are easy to create and maintain c. You provide consistent formatting for all of the pages that use the style sheet d. You can modify the formatting for all of the related pages by changing one style sheet

b

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

b

5. If you want the user to be able to click anywhere in a box in a navigation list that's created by using <a> elements within the list items of an unordered list, you must a. set the list-style property for the list to none b. set the display property for the list items to block c. set the text-decoration property for the <a> elements to none d. set the display property for the <a> elements to block

b

7. A child selector in CSS allows you to select elements that a. are any descendant of an element b. are a direct descendant of an element c. have an attribute that matches the specified child d. have a class that matches the specified child

b

7. To load a web page from an intranet into your web browser, you can a. click on the Load or Reload button b. use the Open or Open File command in the File menu c. type just the file name into the address bar d. type just the domain name into the address bar

b

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

b

As a best practice, you should only use the height and width attributes of an img element to specify a. the size at which you want the image to be displayed after the page is rendered b. the actual size of the image c. the optimum size of the image d. the size at which you want the image to be displayed while the page is being rendered

b

If you want the user to be able to click anywhere in a box in a navigation list that's created by using <a> elements within the list items of an unordered list, you must a. set the list-style property for the list to none b. set the display property for the list items to block c. set the text-decoration property for the <a> elements to none d. set the display property for the <a> elements to block

b

To change the left alignment of the items in an unordered list, you set the a. left margin for the ul element b. left padding for the ul element c. left margin for each li element d. left padding for each li element

b

Which of the following should you NOT do when using CSS3 properties to create text columns? a. Make the columns wide enough to read easily. b. Justify the text in the columns. c. Include the property prefixes required to display the columns in browsers that support this feature. d. Code the columns in an article element.

b

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

c

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

c

11. Which of the following selectors applies to all <a> elements with "hot" as their class name that are coded within a div element that has "header" as its id? a. a.hot #header b. a.hot > header c. #header a.hot d. #header a:hot

c

3. Google publishes a web browser named a. Safari b. Opera c. Chrome d. Internet Explorer

c

3. Which of the following units of measurement is equal to the font size for the current font? a. a pixel b. a point c. an em d. a percentage

c

4. Which of the following is NOT one of the ways that you can specify a color in CSS? a. color: white; b. color: rgb(50%, 25%, 25%); c. color: getColor("red"); d. color: #cd5c5c;

c

5. Which of the following is NOT part of an HTTP URL: a. protocol b. path c. node d. filename

c

6. Which of the following is a valid selector for a class named menu? a. menu b. #menu c. .menu d. > menu

c

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

c

8. To view the source code for a web page in the Firefox or IE browser, you can select the appropriate command from the a. File menu b. Source menu c. View menu d. Page menu

c

For a three-column layout, you can a.code the section and asides in any sequence and then float them all to the left b.code the section and asides in sequence from left to right and then float the first aside to the left and the second aside to the right c.code the section and asides in any sequence and then float the first aside and the section to the left and the second aside to the right d.float the section in the center and let the asides flow around it

c

To create a thumbnail for a larger image, you can a. set the height and width attributes for the larger image so it's smaller b. set the height and width properties for the larger image so it's smaller c. use an image editor d. use a client-side scripting language like JavaScript

c

When you create an image map, you use an area element to define each clickable hotspot along with a. a usemap attribute that identifies the related image b. a hotspot attribute that identifies the number of hotspots c. an href attribute that identifies the page that the hotspot links to d. a map attribute that gives the names of the hot spots

c

Which of the following techniques can you NOT use to create a two-column layout? a.Code the first column before the second column and then float the first column to the left. b.Code the first column before the second column and then float both columns to the left. c.Code the columns in any order and then float both columns to the left. d.Code the columns in any order and then float the first column to the left and the second column to the right.

c

1. An HTTP response is sent from a. the web server to the application server b. the application server to the web server c. the client to the web server d. the web server to the client

d

2. The four pseudo-class selectors for links are a. link, visited, active, and inactive b. link, active, inactive, and hover c. unvisited, visited, active, and inactive d. link, visited, active, and hover

d

2. Within a CSS rule set, a declaration (rule), includes a. a selector and a declaration block b. a selector and a value c. a property and a selector d. a property and a value

d

4. JavaScript code is run by the a. database server b. application server c. web server d. web browser

d

4. To link to placeholders on the same page as the links, you must code the placeholders a. as <holder> elements b. with placeholder attributes c. as <a> elements with class attributes d. as <a> elements with id attributes

d

4. To start a new CSS file from a template in Aptana, you a. open the template, add code to it, and save it with a new name b. open the template and save it with a new name before you add code to it c. create the new file and then copy and paste the template code into it d. link to the template when you start the new file

d

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

d

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

d

8. Pseudo-class selectors let you apply formatting a. to selected portions of text b. to elements that specify multiple classes c. when a button control is clicked d. when specific conditions occur

d

9. Which of the following is NOT a guideline for user accessibility? a. Provide text that is easy to read. b. Make sure all links can be accessed with the keyboard. c. Make sure that any essential information in images is also provided in text. d. Make sure that each page will run in all browsers

d

The HTML5 figure element is typically used as a container for a. articles b. asides c. sections d. images

d

The four pseudo-class selectors for links are a. link, visited, active, and inactive b. link, active, inactive, and hover c. unvisited, visited, active, and inactive d. link, visited, active, and hover

d

To create an animated image, you use a. a JPEG file b. a PNG file c. a GIF file d. a GIF file that contains frames

d

To link to placeholders on the same page as the links, you must code the placeholders a. as <holder> elements b. with placeholder attributes c. as <a> elements with class attributes d. as <a> elements with id attributes

d

When you set the position property for a block element to fixed, the element a.always appears in the top left corner of the browser window b.moves when you scroll in the browser window c.can't overlap other elements on the web page d.is positioned relative to the browser window

d


Conjuntos de estudio relacionados

Learn Smart PKA- Chapter Six: An Introduction to Energy, Enzymes, and Metabolism

View Set

Test Pharmacology Made Easy 4.0 - Endocrine System

View Set

Consumer Behavior: Chapter 16 - Alternative Evaluation and Selection

View Set

Cláusulas nominales, desencadenantes

View Set

ATI: RN Nursing Care of Children Online Practice 2019 A with NGN

View Set

Cervical and Thoracic Spine (Ch 8)

View Set

Intermediate chapter 5 chapter 6

View Set

Chapter 1 (True or False) | Mid-Term

View Set