CSS Multiple Choice Questions & Answers on Strings and Keywords for Freshers

1. Which of the following strings are defined by in css?

a) single quotes
b) double quotes
c) both (a) and (b)
d) none of the mentioned
Answer: c

Explanation: In CSS, strings are defined with either single quotes (‘example’) or double quotes (“example”). Quotes may be found within the opposite quote (“I say this is an ‘example’!”).
2. Which of the following defined as alphanumeric names that correspond to some current counter value in a document?

a) Class
b) Key
c) Counters
d) None of the mentioned
Answer: c

Explanation: Counters demonstrate the possibility of variable-like values in CSS. They are defined as alphanumeric names that correspond to some current counter value in a document.
3. Which of the following is the Color Format that is a CSS’s six-digit hexadecimal format as color defined in (X)HTML?

a) Specification defined named colors
b) System Color Names
c) 6-Hex Color
d) 3-Hex Color
Answer: c

Explanation: CSS’s six-digit hexadecimal format is the same as color defined in (X)HTML. The format specifies color as #rrggbb, where rr is the amount of red, gg the amount of green, and bb the amount of blue, all specified in a hexadecimal value ranging from 00 to FF.
4. Which of the following is the Color Format that is the CSS3 HSL value with a fourth value to set the alpha channel value for the color to define the opacity of the element?

a) HSLa Color
b) HSL Color
c) RGBa Color
d) RGB Color
Answer: a

Explanation: An HSLa is specified via a function style hsla(hue,saturation, lightness, alpha), where hue, saturation, and lightness are the same as standard hsl() values, and the alpha channel value for defining opacity is a number between 0 (fully transparent) and 1 (fully opaque).
5. Which of the following is the Color Format that is a defined using the keyword rgb, followed by three numbers between 0 and 255, contained in parentheses and separated by commas, with no spaces between them.
a) HSLa Color
b) HSL Color
c) RGBa Color
d) RGB Color

Answer: d

Explanation: . RGB color values can also be defined using percentages. The format is the same, except that the numbers are replaced by
percentage values between 0% and 100%.

6. Which of the following property allows the text direction to be overridden to support multiple languages and text flow directions in the same document?

a) unicode-bidi
b) visibility
c) top
d) vertical-align
Answer: a

Explanation: Syntax:
unicode-bidi: bidi-override | embed | normal| inherit
7.Which of the following property determines whether or not an element is visible?

a) display
b) visibility
c) transperancy
d) disappear
Answer: b

Explanation: This property is not the same as display: none as it simply makes the item invisible; it does not completely remove it from the display canvas..
8. Which of the following property controls how spaces, tabs, and newline characters are handled in an element?

a) space
b) display
c) widows
d) white-space
Answer: d

Explanation: The values of pre-wrap and pre-line are not supported in older browsers.
9. Which of the following property defines the minimum number of lines in a paragraph to be left at the top of a page?

a) white-space
b) widows
c) display
d) width
Answer: b

Explanation: This property is really only meaningful in a paged environment, such as print output.
10. Which of the following property sets the spacing between words?

a) display
b) white-space
c) sr
d) word-spacing
Answer: d

Explanation: Syntax:
word-spacing: length | normal | inherit

Related

Computer Fundamentals Multiple choice Questions and Answers on Boolean Functions for Freshers

1. Boolean Function is of the form of ________ a) Truth valuesb) K=f(X,Y,X)c) Algebraic Expressiond) Truth Table Answer: a Explanation: The boolean function is of the form of algebraic expression...

Multiple choice Questions and Answers on Event-Driven SOA or SOA 2.0 of Cloud Computing for Freshers

1. What should be the message given by Web Service 3 to Web Service 2 in the following figure for execution in cooperative way ? a) Replyb) Invokec) Rejectd) None of the mentioned Answer: a Expla...

Multiple Choice Questions and Answers on Service Oriented Architecture of Cloud Computing for Freshers

1. Which of the following describes a message-passing taxonomy for a component-based architecture that provides services to clients upon demand ? a) SOAb) EBSc) GECd) All of the mentioned Answer: ...

Post a Comment

emo-but-icon
:noprob:
:smile:
:shy:
:trope:
:sneered:
:happy:
:escort:
:rapt:
:love:
:heart:
:angry:
:hate:
:sad:
:sigh:
:disappointed:
:cry:
:fear:
:surprise:
:unbelieve:
:shit:
:like:
:dislike:
:clap:
:cuff:
:fist:
:ok:
:file:
:link:
:place:
:contact:

item