CSS (Text, Borders, and Images)

0%

How many ways to define the border-image-width CSS property?

Correct! Wrong!

Explanation:
The border-image-width CSS property defines the offset to use for dividing the border image in nine parts, the top-left corner, central top edge, top-right-corner, central right edge, bottom-right corner, central bottom edge, bottom-left corner, and central right edge.

In a single declaration, which of the following CSS properties defines the distinct properties of all four sides of an element's border?

Correct! Wrong!

Explanation:
The border-width property sets the width of an elementโ€™s four borders. This property can have from one to four values.

Identify the CSS property that defines the border's bottom-left corner shape.

Correct! Wrong!

Explanation:
CSS3 border-radius property allows you can give any element โ€œrounded cornersโ€.

The border-color property of which of the following CSS properties sets the color of an element's four borders?

Correct! Wrong!

Explanation:
The border-color property sets the color of an elementโ€™s four borders. This property can have from one to four values.

Select a CSS property for collapsing the borders between table cells.

Correct! Wrong!

Explanation:
The border-collapse property sets whether the table borders are collapsed into a single border or detached as in standard HTML.

Instead of using the border style, which CSS attribute may be used to make the image the border?

Correct! Wrong!

Explanation:
The border-image-source property specifies the path to the image to be used as a border (instead of the normal border around an element).

Which of the following determines the distance between adjacent cell borders?

Correct! Wrong!

Explanation:
The border-spacing property sets the distance between the borders of adjacent cells (only for the โ€œseparated bordersโ€ model).

The look and design of an outline are determined by which of the following properties?

Correct! Wrong!

Explanation:
The outline-style CSS property is used to set the style of the outline of an element. An outline is a line that is drawn around elements, outside the border edge, to make the element stand out.

A 3D grooved outline is defined by which of the following values?

Correct! Wrong!

Explanation:
groove specifies a 3D grooved border. The effect depends on the border-color value.

A solid outline is defined by which of the following values?

Correct! Wrong!

Explanation:
As the name suggests, a solid outline is created using this value.

A dashed outline is defined by which of the following values?

Correct! Wrong!

Explanation:
The property defines a dashed border.

Which of the following properties determines the color of an element's background?

Correct! Wrong!

Explanation:
Syntax: background-color: color | transparent

The space between cells in a table is defined by which of the following properties?

Correct! Wrong!

Explanation:
Syntax: border-spacing: non-negative length(s) | inherit

Which of the following media features best characterizes the amount of entries in the output device's color lookup table?

Correct! Wrong!

Explanation:
The โ€˜color index media feature describes the number of entries in the color lookup table of the output device. If the device does not use a color lookup table, the value is zero

A graphic image is assigned to a list item by which of the following properties?

Correct! Wrong!

Explanation:
Syntax: list-style-image: url(url of image) | none

The labels for an element's list items are positioned inside or outside the "box" specified by the listed item, according to which of the following properties?

Correct! Wrong!

Explanation:
Syntax: list-style-position: inside | outside | inherit

Which of the following properties defines a list's labels?

Correct! Wrong!

Explanation:
Syntax: list-style-type: disc | circle | square | decimal

Which of the following properties defines the width, style, and color of an element's left border in a shorthand form?

Correct! Wrong!

Explanation:
Syntax: border-left: border-width border-style border-color;

To round border corners, which of the following properties is used?

Correct! Wrong!

Explanation:
Syntax: border-radius: horizontal-radius vertical-radius

The font size of text is set by which of the following properties?

Correct! Wrong!

Explanation:
Syntax: font-size: length | percentage

A box element's shadow is set by which of the following properties?

Correct! Wrong!

Explanation:
Syntax:box-shadow: none | inherit

Which of the following properties determines the color of a scroll bar's shadow on the right and bottom edges?

Correct! Wrong!

Explanation:
Syntax: scrollbar-darkshadow-color: color

When the content exceeds the width of its enclosing element, which of the following properties governs how it should behave?

Correct! Wrong!

Explanation:
Syntax: overflow-x: auto | hidden

The offset between an element's border and outline is defined by which of the following properties?

Correct! Wrong!

Explanation:
Syntax: outline-offset: length | inherit

Which of the following properties controls whether or not the background picture scrolls with the content of its linked item?

Correct! Wrong!

Explanation:
Syntax: background-attachment: scroll | fixed | inherit

Premium Tests $49/mo
FREE December-2024