Module 2

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

Which of the following will configure all the span elements with red (#FF0000) text color

Answer: <span style="color: #FF0000;">

Choose the method to avoid when obtaining graphics for your website.

Answer: Right-click and copy a graphic you like from any website

The browser prefix -webkit in a CSS property indicates that it is likely to be recognized by which of the following browsers?

Answer: Safari

Cascading Style Sheet rules are comprised of:

Answer: Selectors and Declarations

Use the ______ attribute to display an image to the right of a block of text.

Answer: align

Select the items below that can be used as a CSS Selector.

Answer: all of the above

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.

Answer: alt

Use the _______ property to configure multiple backgrounds on an element.

Answer: background

Use the ________________ property to confine the display of the background image.

Answer: background-clip

Which of the following is the CSS property used to set the background color?

Answer: background-color

Select the code below that uses CSS to configure a background color of #eaeaea for a web page.

Answer: body {background-color:#eaeaea; }

Select the code below that will configure a background image called parchment.gif for a web page using CSS.

Answer: body {background-image:url(parchment.gif); }

Use the ________________ property to configure rounded corners with CSS.

Answer: border-radius

Which of the following configures a 1 pixel, solid black border for an element?

Answer: border: 1px solid #000000;

To apply a style to one or more of elements on a web page, configure a CSS _____________.

Answer: class

Which of the following is the CSS property used to set the text color?

Answer: color

An External Style Sheet uses the _____ file extension.

Answer: css

Which of the following is a CSS selector that will configure the anchor elements within the nav id.

Answer: #nav a

Select the code below that configures a class called "offer" with blue text using CSS.

Answer: .offer { color:blue; }

The default value for the border property for an element is:

Answer: 0 pixels

CSS was first approved as a standard by the W3C in ______.

Answer: 1996

Which of the following symbols terminates a style declaration?

Answer: ; semi-colon

Choose the item that creates an image link to the school.html page when the school.gif graphic is clicked.

Answer: <a href="school.html"><img src="school.gif" alt="school"></a>

Select the code below that associates a favorites icon named favicon.ico with a web page document.

Answer: <link rel="icon" type="image/x-icon" href="favicon.ico">

Select the browser's action when you configure BOTH a background color and background image for the body selector.

Answer: display the background color while the background image loads and before the background image is displayed

According to the CSS rules of precedence, ______ styles override ________ styles.

Answer: embedded, inline

Which of the following configures Arial, Verdana, or the default sans-serif font for an element?

Answer: font-family: Arial, Verdana, sans-serif;

Use the __________ property to configure italic text using CSS

Answer: font-style

Which of the following is a CSS selector that will configure the paragraph elements within the footer element.

Answer: footer p

Choose the graphic format that can be made transparent.

Answer: gif

A _________________ is a smooth blending of shades from one color to another.

Answer: gradient

Select the attributes that are used in the area element to configure a clickable area on an image map.

Answer: href, coords, shape, alt

The letters in the acronym HSLA indicate:

Answer: hue, saturation, lightness, alpha

A(n) ________ is an image that is configured so that parts of the image can be used as one or more hyperlinks.

Answer: image map

Select the element that displays an image on a web page.

Answer: img

When CSS is coded in the body of the web page as an attribute of an HTML tag it is called ________.

Answer: inline

Choose the graphic format that is best-suited to display photographs on web pages.

Answer: jpg

Use the ______ element to associate a web page with an external style sheet.

Answer: link

Use the _______________ property to configure an image to use as a list marker in an unordered list.

Answer: list-style-image

Use the _______________ property to eliminate the bullets from an unordered list.

Answer: list-style-type

When using the box model, the _____ is always transparent.

Answer: margin

Which of the following is used along with the width property to configure centered page content?

Answer: margin-left: auto; margin-right: auto

Which of the following configures a margin for an element with the following values: top margin 30 pixels, left margin 150 pixels, right margin 0 pixels, and bottom margin 0 pixels?

Answer: margin: 30px 0 0 150px;

Use the __________ property to configure a minimum width for an element

Answer: min-width

The CSS3 _______ property configures the transparency of an element.

Answer: opacity

Choose the item below that describes the process of creating an image with the lowest file size that still renders a good quality image.

Answer: optimization

Which of the following is correct CSS syntax?

Answer: p { color: #000000; }

The _______ is the area between the content and the border.

Answer: padding

When configuring the background color of an element, the background color is applied to both the content and ______ areas.

Answer: padding

Which of the following configures padding for an element with the following values: top padding 0 pixels, left padding 10 pixels, right padding 10 pixels, bottom padding 20px?

Answer: padding: 0 10px 20px 10px;

Choose the graphic format that supports millions of colors, supports variable transparency levels, and uses lossless compression.

Answer: png

The process of ensuring that web pages coded with new or advanced techniques still are usable in browsers that do not offer support for the newer features is called:

Answer: progressive enhancement

Choose the technique below that will provide for accessibility when a web page uses graphics for the main navigation links.

Answer: provide text hyperlinks in the page footer and configure an alt attribute for each navigation image

Use the ______ element to create logical areas on a web page that are embedded within paragraphs or other block formatting elements.

Answer: span

Use the _____ element to code embedded styles on a web page.

Answer: style

Which of the following is an HTML attribute that configures inline styles?

Answer: style

Use the __________ property to align text within an element.

Answer: text-align

Use the __________ property to configure uppercase text

Answer: text-transform

A smaller version of a larger image that usually links to the larger image is called a:

Answer: thumbnail image

Use the ___________________ property to resize or scale the background image.

Answer:background-size


Set pelajaran terkait

Learning Unit 4 | PrepU | Chapter 19: Safety

View Set

Microsoft Practice Test Questions (All)

View Set

Accounting - Chapter 4: Ledger accounting and double entry

View Set

Straight Line Method and Units of Production Method

View Set

Accounting Ethics: Exam #1 Homework Questions

View Set

EC 2113 Chapter 3 Study Questions

View Set

Chapter 12: Imports, Customs, and Tariff Law

View Set