CSS Multiple Choice Questions & Answers on Floating Elements for Layout for Freshers

1. Which of the following values are zccepted by the float Property?

a) left
b) right
c) none
d) all of the mentioned
Answer: d
2. Which of the following property is used to control the behavior of floating elements?

a) format
b) clean
c) clear
d) remove
Answer: c
3. The default value for the float property is right.State true or false.

a) True
b) False
Answer: b

Explanation: The default value for this property is none.
4. img {
    float: right;
 }
In what direction does float will work?

a) left
b) top
c) bottom
d) right
Answer: d
5. Which of the following property allows elements to be offset, rotated, scaled, and skewed in a variety of different ways?

a) transform-style
b) transform
c) transition
d) transform-origin
Answer: b
6. Which of the following property is used to define how nested items are rendered in a 3-D space, the choice being either flattened or with their dimensions preserved?

a) transition-duration
b) transition-delay
c) transition
d) transform-style
Answer: d

Explanation:
Syntax: transform-style: flat
7. Which of the following property is used to define the time it takes one iteration of an animation to play?

a) transition-property
b) transition-timing
c) transition-duration
d) user-select
Answer: c

Explanation:
Syntax transition-duration: time [,time]*
where time is a valid time value like 5s or 3500ms. The default value of time is 0, meaning no animation plays.
8. Which of the following property sets the distance between an element’s right border and the rightmost edge of its content?

a) auto
b) padding-left
c) padding-right
d) padding-top
Answer: c

Explanation:
Syntax: padding-right: length | percentage | auto
9. Which of the following property is used to control page breaks when printing a document after the bound element box ends?

a) page-inside
b) page-break-after
c) page-break-inside
d) page-break-before
Answer: b

Explanation:
Syntax: page-break-after: always | auto
10.Which of the following property defines the style of quotation marks to be used with embedded quotations?

a) article
b) para
c) quote
d) quotes
Answer: d

Explanation:
Syntax: quotes: quote-pair1 ... quote-pairN | none

Related

CSS Multiple Choice Questions & Answers on Targeting Styles with Media Queries for Freshers

1. Which of the following media feature describes the number of entries in the color lookup table of the output device a) colorb) color-indexc) color-valued) color-@media Answer: b Explanati...

C Programming Questions and Answers on File Inclusion for Freshers

1. What is the sequence for preprocessor to look for the file within <> ? a) The predefined location then the current directoryb) The current directory then the predefined locationc) The pred...

C Programming Questions and Answers on C-Preprocessor Directives for Freshers

1. Property which allows to produce different executable for different platforms in C is called? a) File inclusionb) Selective inclusionc) Conditional compilationd) Recursive macros Answer: c Exp...

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