CSS Styling Images
- Which of the following is not the value for background-repeat property?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
Background-repeat property can have four values i.e. repeat, repeat-x, repeat-y and no -repeat. The background image is repeated both horizontally and vertically by setting the value repeat, repeat-x repeats the image horizontally only.
- Which of the property is not used for positioning columns next to each other?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
Many web pages used multiple columns in their design. The three CSS properties are used to position columns next to each other. Width, margin, and float. Width sets the width of the column, float positions columns next to each other, margin creates a gap between columns.
- Which is not a box-level element?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
CSS treats each HTML element as if it is in its own box. This box will either be block-level Box or inline box. Block-level elements start on a new line e.g. <p>, <ul>, <li> and <h1>. Inline elements follow in between surrounding text like <img>, <i>, <b>.
- Which of the following is not the value for an unordered list?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
For unordered list, we can use none, disc, square, circle. For ordered list, we can use decimals, decimal-leading-zero, lower-alpha, upper-roman, lower-roman.
ol {list-style-type: lower roman;}
- Which of the following value sits to the left of the block of text?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
List are indented into the page by default and list-style-position property indicates whether the marker should appear on inside or outside box containing main points. This property can take two values outside and inside. The marker sits to the left of the block of text, this is the default behavior if this property is not used.