Question_01:
Which of the given options is/are equivalent to the following rule?
DIV { line-height: 1.2; font-size: 10pt }
The sans-serif generic font-family is characterized by:
Which of the following properties allow percentages in their value fields?
Question_04:
Which of the following styles is valid?
Which of the following property doesn’t take up space?
Can a percentage value be given in a ruby-align property?
What will happen if the cursor property value is set to none?
What is the range of values (in decimal notation) that can be specified in the RGB color model?
The color in three digit RGB notation is #fb0. What will be its equivalent six digit color code?
backface-visibility:hidden; will this property hide the back side of a transformed div element?
What will happen if the pause property is used as follows?
h2 { pause: 40s 60s }
Read the following:
@page rotated {size: landscape}
TABLE {page: rotated; page-break-before: right}
What will this code do?
Which of the following properties specifies the minimum number of lines of a paragraph that must be left at the bottom of a page?
What is the problem in the following style sheet?
@import “style.css”;
@media print
{
@import “print-main.css”;
BODY { font-size: 10pt }
}
h1 {color: red }
A/An___________ is defined with ‘grid-columns’, ‘grid-rows’ properties.
Which of the following are not valid values for the target-new property?
Which of the following styles is not valid for an image?
What is the initial value of the marquee-speed property?
What is the default value of the transform property in CSS3?
Which of the following value of the white-space property will set the value of white-space-collapse to “preserve” and value of the text-wrap to “none”?
Which of the following is not a user interface element fragment selector?
If the nav-index property of textbox1 is set to 10, that of textbox2 to 5 and that of textbox3 to 8, what will be the navigation order?
What is the initial value of the opacity property?
Which of the following option does NOT exist in media groups available in CSS3?
What is the initial value of the text-align property?
Which of the given rules would result in an object being rendered as above?
div::before::before { content: ’3′; }
div::before::before { content: ’1′; }
div::before(2) { content: ’3′; }
div::before(2) { content: ’1′; }
Question:27
You want to set the image resolution to 300dpi irrespective of the resolution of the image. Which of the following codes will be used?
If you set the value of the speak property to digits, how would 22 be spoken?
Which of the following does not apply to external styles?
To which of the following elements can the min-width property not be applied?
If the following rule is used, what will be the output?
:focus,:active { outline-offset: 10px }
Which of the following rules is equivalent to the em { color: rgb(255,0,0) } style?
What is the initial value of the animation-iteration-count property?
What will happen if the following style declaration is applied to an element?
p { margin: 3em 2em }
What will happen if the following style declaration is used in the given HTML code?
<style type=”text/css”>
div.container
{
width:38em;
border:1em solid black;
}
div.split
{
box-sizing:border-box;
width:50%;
border:1em silver ridge;
float:left;
}
HTML code:
<div class=”container”>
<div class=”split”>Box 1.</div>
<div>Box 2.</div>
</div>
Which of the following is the initial value for the column-fill property?
If you are using the white-space-collapse property with value collapse, what will be the output of the following string?
John leads his team to the victory, but fails to reach the finals.
What effect does the following rule have?
div { grid-rows: 4em (0.25em 1em); }
Which of the given options is/are equivalent to the following rule?
DIV { line-height: 1.2; font-size: 10pt }
- DIV { line-height: 1.2em; font-size: 10pt }
- DIV { line-height: 12em; font-size: 10pt }
- DIV { line-height: 120%; font-size: 10pt }
- DIV { line-height: 20%; font-size: 10pt }
- DIV { line-height: 80%; font-size: 10pt }
The sans-serif generic font-family is characterized by:
- finish strokes, flared or tapering ends, or actual serifed endings.
- stroke endings that are plain without any flaring, cross stroke, or other ornamentation.
- either join strokes or other cursive characteristics beyond those of italic typefaces.
- primarily decorate the characters while still containing their representations.
Which of the following properties allow percentages in their value fields?
Question_04:
Which of the following styles is valid?
- border: “none”;
- border= “none”;
- border: none;
- border= none;
- None of the above
Which of the following property doesn’t take up space?
- outline
- border
- Both a and b
Can a percentage value be given in a ruby-align property?
- Yes
- b. No
What will happen if the cursor property value is set to none?
- The default cursor will be displayed.
- No cursor will be displayed.
- A pointer cursor will be displayed.
- A text cursor will be displayed.
What is the range of values (in decimal notation) that can be specified in the RGB color model?
- 0 to 256
- 0 to 255
- -250 to 250
- -255 to 255
The color in three digit RGB notation is #fb0. What will be its equivalent six digit color code?
- #fb0fb0
- #ffbb00
- #fbfb00
- None of the ab
backface-visibility:hidden; will this property hide the back side of a transformed div element?
- Yes
- No
What will happen if the pause property is used as follows?
h2 { pause: 40s 60s }
- pause-before will be set to 40 seconds and pause-after will be set to 60 seconds.
- pause-after will be set to 40 seconds and pause-before will be set to 60 seconds.
- pause-after and pause-before will be set to 40 seconds.
- pause-after and pause-before will be set to 60 seconds.
Read the following:
@page rotated {size: landscape}
TABLE {page: rotated; page-break-before: right}
What will this code do?
- It will put all tables on a right-hand side landscape page.
- It will rotate the page if the table is positioned at the right side.
- It will keep the table in the landscape position and rotate the page.
- None of the above
Which of the following properties specifies the minimum number of lines of a paragraph that must be left at the bottom of a page?
- orphans
- widows
- bottom
- overflow
- None of the above
What is the problem in the following style sheet?
@import “style.css”;
@media print
{
@import “print-main.css”;
BODY { font-size: 10pt }
}
h1 {color: red }
- Two style sheets can’t be included with @import.
- The body tag can’t be included inside @media.
- @import rule is invalid since it occurs inside a @media block.
- It is valid.
A/An___________ is defined with ‘grid-columns’, ‘grid-rows’ properties.
- Explicit grid
- Natural grid
- Default grid
- None of the above
Which of the following are not valid values for the target-new property?
- window
- tab
- none
- parent
- current
Which of the following styles is not valid for an image?
- img { float= left }
- img { float: left here }
- img { background: “black” }
- img { border-width: 10 }
- All of the above
What is the initial value of the marquee-speed property?
- slow
- normal
- fast
- none
What is the default value of the transform property in CSS3?
- 50% 50%
- 0% 0%
- 100% 100%
- none
Which of the following value of the white-space property will set the value of white-space-collapse to “preserve” and value of the text-wrap to “none”?
- normal
- pre
- nowrap
- pre-wrap
- pre-line
Which of the following is not a user interface element fragment selector?
- value
- choices
- default
- repeat-item
- repeat-index
If the nav-index property of textbox1 is set to 10, that of textbox2 to 5 and that of textbox3 to 8, what will be the navigation order?
- textbox1, textbox2 ,textbox3
- textbox2, textbox3 ,textbox1
- textbox3, textbox2 ,textbox1
- textbox1, textbox3 ,textbox2
What is the initial value of the opacity property?
- 0
- 1
- normal
- none
Which of the following option does NOT exist in media groups available in CSS3?
- continuous or paged
- visual or tactile
- grid or bitmap
- braille or screen
What is the initial value of the text-align property?
- start
- end
- left
- right
- center
- justify
Which of the given rules would result in an object being rendered as above?
- div { content: ’1′ }
div::before::before { content: ’3′; }
- div { content: ’3′ }
div::before::before { content: ’1′; }
- div { content: ’1′ }
div::before(2) { content: ’3′; }
- div { content: ’3′ }
div::before(2) { content: ’1′; }
Question:27
You want to set the image resolution to 300dpi irrespective of the resolution of the image. Which of the following codes will be used?
- img { image-resolution: auto }
- img { image-resolution: auto, 300dpi }
- img { image-resolution: 300dpi }
- None of the above
If you set the value of the speak property to digits, how would 22 be spoken?
- twenty two
- two two
- twenty and two
- four
Which of the following does not apply to external styles?
- Clean separation of design and content
- Minimal code duplication
- Highest priority
- Reduced page download time
To which of the following elements can the min-width property not be applied?
- button
- span
- table new
If the following rule is used, what will be the output?
:focus,:active { outline-offset: 10px }
- The focus outline will appear at a distance of 10 pixels from the active element.
- The width of the focus outline will be 10 pixels.
- No outline will be shown.
Which of the following rules is equivalent to the em { color: rgb(255,0,0) } style?
- em { color: rgb(300,0,0) }
- em { color: rgb(255,-10,0) }
- em { color: rgb(110%, 0%, 0%) }
- em { color: rgb(100%, 0%, 0%) }
- All of the above
What is the initial value of the animation-iteration-count property?
- 0
- 1
- 5
- None
What will happen if the following style declaration is applied to an element?
p { margin: 3em 2em }
- The top and the bottom margins will be 3em and the left and the right margins will be 2em.
- The top and the bottom margins will be 2em and the left and the right margins will be 3em.
- The top and the left margins will be 3em and the bottom and the right margins will be 2em.
- The top and the right margins will be 2em and the bottom and the left margins will be 3em.
What will happen if the following style declaration is used in the given HTML code?
<style type=”text/css”>
div.container
{
width:38em;
border:1em solid black;
}
div.split
{
box-sizing:border-box;
width:50%;
border:1em silver ridge;
float:left;
}
HTML code:
<div class=”container”>
<div class=”split”>Box 1.</div>
<div>Box 2.</div>
</div>
- Two boxes will be stacked one on another.
- Box 1 will be on the left hand side and Box 2 will be on the right hand side horizontally.
- Box 2 will be on the left hand side and Box 1 will be on the right hand side horizontally.
- Both boxes will overlap each other.
Which of the following is the initial value for the column-fill property?
- auto
- balance
- none
If you are using the white-space-collapse property with value collapse, what will be the output of the following string?
John leads his team to the victory, but fails to reach the finals.
- Johnleadshisteamtothevictory,butfailstoreachthefinals.
- John leads his team to the victory, but fails to reach the finals.
- John leads his team to the victory, but fails to reach the finals.
- John leads his team to thevictory, but fails to reach thefinals.
What effect does the following rule have?
div { grid-rows: 4em (0.25em 1em); }
- It creates rows with 4em height.
- It creates a header row with 4em height and alternative rows with 0.25em width and 1em heights.
- It creates a header row with 4em height and alternative rows with 0.25em and 1em heights.
- It creates a header row with 4em width and alternative rows with 0.25em width and 1em heights.
No comments:
Post a Comment