New CSS3 Odesk Test Answers
Question: 1
Which of the following
declarations can be used to cover the whole background?
a. body{
b. background: red url("test.gif");
c. background-repeat: repeat-y;
d. background-attachment: fixed;
e. }
g. body{
h. background: red url("test.gif");
i. background-repeat: repeat-x;
j. background-attachment: fixed;
k. }
m. body{
n. background: red url("test.gif");
o. background-repeat: no-repeat;
p. background-attachment: fixed;
q. }
s. body{
t. background: red url("test.gif");
u. background-repeat: repeat;
v. background-attachment: fixed;
w. }
y. body{
z. background-image: url("test.gif");
aa.
background-repeat: space;
bb.}
(Answer)
Question: 2
The sans-serif generic
font-family is characterized by:
a. finish strokes, flared or
tapering ends, or actual serifed endings.
b. stroke
endings that are plain without any flaring, cross stroke, or other
ornamentation. (Answer)
c. either join strokes or
other cursive characteristics beyond those of italic typefaces.
d. primarily decorate the
characters while still containing their representations.
Question: 3
Which of the following is not
a user interface element fragment selector?
a. Value
b. Choices
c. Default
(Answer)
d. repeat-item
e. repeat-index
Question: 4
What will happen if the
cursor property value is set to none?
a. The default cursor will be
displayed. *
b. No cursor
will be displayed. (Answer)
c. A pointer cursor will be
displayed.
d. A text cursor will be
displayed.
Question: 5
Read the following:
@page rotated {size:
landscape}
TABLE {page: rotated;
page-break-before: right}
What will this code do?
a. It will
put all tables on a right-hand side landscape page. (Answer)
b. It will rotate the page if
the table is positioned at the right side.
c. It will keep the table in
the landscape position and rotate the page.
d. None of the above
Question: 6
Read the following:
@page rotated {size:
landscape}
TABLE {page: rotated;
page-break-before: right}
What will this code do?
a. It will put all tables on
a right-hand side landscape page. (Answer)
b. It will rotate the page if
the table is positioned at the right side.
c. It will
keep the table in the landscape position and rotate the page. (Answer)
d. None of the above
Question: 7
Which of the following is not
a valid value for the font-stretch property?
a. Condensed
b. Normal
c. semi-narrower
(Answer)
d. expanded
e. semi-expanded
Question: 8
Which of the following does
not apply to external styles?
a. Clean separation of design
and content
b. Minimal code duplication
c. Highest
priority (Answer)
d. Reduced page download time
Question: 9
Consider the following code:
Shane Mathew
9843423232
What will be the output if
the name and the number end up on different lines?
a. Shane Mathew....
...9843423232
b. Shane
Mathew____
___9843423232
(Answer)
c. Shane Mathew
9843423232
d. Shane Mathew---
---9843423232
Question: 10
A/An___________ is defined
with 'grid-columns', 'grid-rows' properties?
a. Explicit
grid (Answer)
b. Natural grid
c. Default grid
d. None of the above
Question: 11
Can a percentage value be
given in a ruby-align property?
a. Yes
b. No
(Answer)
Question: 12
What will happen if the
following style declaration is used in the given HTML code?
HTML code:
Box 1.
Box 2.
a. Two boxes
will be stacked one on another. (Answer)
b. Box 1 will be on the left
hand side and Box 2 will be on the right hand side horizontally. **
c. Box 2 will be on the left
hand side and Box 1 will be on the right hand side horizontally.
d. Both boxes will overlap
each other.
Question: 13
What will be the output of
the following rule?
em {
color: rgba(0,0,255,1)
}
a. Opacity 1 with solid red
color
b. Opacity 0 with solid blue
color
c. Opacity 0 with solid red
color
d. Opacity 1
with solid blue color (Answer)
e. None of the above
Question: 14
Consider the following code
body
{
text-replace: "a"
"b" "b" "c";
}
What will be the output of
the following string if you implement the text-replace style?
andy lives behind café
a. bndy lives behind cbfe
b. cndy
lives cehind ccfe (Answer)
c. andy lives behind café *
d. andy lives cehind bafe
Question: 15
What is the initial value of
the font-size property?
a. Small
b. Medium
(Answer)
c. Large
d. Default
Question: 16
What is the range of values
(in decimal notation) that can be specified in the RGB color model?
a. 0 to 256
b. 0 to 255
(Answer)
c. -250 to 250
d. -255 to 255
Question: 17
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?
a. textbox1, textbox2
,textbox3
b. textbox2,
textbox3 ,textbox1 (Answer)
c. textbox3, textbox2
,textbox1
d. textbox1, textbox3
,textbox2
Question: 18
Which of the following
display values assign ruby semantics to an arbitrary element as given below?
ruby-text (in XHTML: rt)
a. It specifies that an
element defines a ruby base.
b. It specifies that an
element contains one or more ruby bases.
c. It
specifies that an element defines a ruby text. (Answer)
d. It specifies that an
element contains one or more ruby texts.
e. It specifies that an
element defines a ruby structure.
Question: 19
What is the initial value of
the opacity property?
a. 0
b. 1
(Answer)
c. Normal
d. None
Question: 20
To which of the following
elements can the min-width property not be applied?
a. Button
b. Span *
c. table row
(Answer)
Question: 21
You want to set the image
resolution to 300dpi irrespective of the resolution of the image. Which of the
following codes will be used?
a. img { image-resolution:
auto }
b. img { image-resolution:
auto, 300dpi }
c. img {
image-resolution: 300dpi } (Answer)
d. None of the above
Question: 22
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.
a. Johnleadshisteamtothevictory,butfailstoreachthefinals.
*
b. John
leads his team to the victory, but fails to reach the finals. (Answer)
c. John leads his team to
the victory, but fails to reach
the finals.
d. John leads his team to
thevictory, but fails to reach thefinals.
Question: 23
The color in three digit RGB
notation is #fb0. What will be its equivalent six digit color code?
a. #fb0fb0
b. #ffbb00
(Answer)
c. #fbfb00
d. None of the above
Question: 24
Which of the following is not
a valid value for the font-smooth property?
a. Auto
b. Never
c. Always
d. Normal
(Answer)
e. length
Question: 25
What is the default value of
the transform property in CSS3?
a. 50% 50%
b. 0% 0%
c. 100% 100%
d. None
(Answer)
Question: 26
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"?
a. normal
b. pre
(Answer)
c. nowrap *
d. pre-wrap
e. pre-line
Question: 27
Which of the following styles
is not valid for an image?
a. img { float= left } *
b. img { float: left here }
c. img { background:
"black" }
d. img { border-width: 10 }
e. All of
the above (Answer)
Question: 28
You want to float an image to
the top of the next-page. Which of the following styles will help you to
achieve the desired result?
a. img { float: next-page; }
b. img { float: top-corner
next-page; }
c. img { float: next-page
top; }
d. b and c
(Answer)
Question: 29
backface-visibility:hidden;
will this property hide the back side of a transformed div element?
a. Yes
(Answer)
b. No
Question: 30
Which of the following is not
a valid page break?
a. page-break-inside
b. page-break-outside
(Answer)
c. page-break-before
d. page-break-after
e. None of the above
Question: 31
Which of the following
properties allow percentages in their value fields?
a. font-size
(Answer)
b. font-variant
c. font-weight
d. line-height
Question: 32
Which of the following
properties allow percentages in their value fields?
Note: There may be more than
one right answer.
a. font-size
(Answer)
b. font-variant
c. font-weight
d.
line-height (Answer)
Question: 33
Which of the following
properties allow percentages in their value fields?
a. font-size
b.
font-variant (Answer)
c.
font-weight (Answer)
d. line-height
Question: 34
What is the maximum value
that can be given to the voice-volume property?
a. 0
b. 10
c. 100
(Answer)
d. 500
e. None of the above
Question: 35
Which of the following styles
is valid?
a. border: "none";
b. border= "none";
c. border:
none; (Answer)
d. border= none;
e. None of the above
Question: 36
Which of the following are
not valid values for the target-new property?
a. Window
b. Tab
c. None
d. Parent
e. Current
(Answer)
Question: 37
What will happen if the
following declaration is used?
body
{
background-image: url("test.png");
background-attachment: fixed;
background-position: 100% 100%;
background-repeat: no-repeat;
}
a. The image will be shown in
the background at the bottom left corner.
b. The image
will be shown in the background at the bottom right corner. (Answer)
c. The image will be shown in
the background at the top left corner.
d. The image will be shown in
the background at the top right corner.
e. The image will be shown in
the center of the page.
Question: 38
Which of the following rules
is equivalent to the em { color: rgb(255,0,0) } style?
a. em { color: rgb(300,0,0) }
b. em { color: rgb(255,-10,0)
}
c. em { color: rgb(110%, 0%,
0%) }
d. em { color: rgb(100%, 0%,
0%) }
e. All of
the above (Answer)
Question: 39
What will happen if the value
of the transform-style property is set to flat and the element has children?
a. The
element will be shown with 3D effect but the children will be rendered
flattened into the 2D plane.(Answer) *
b. The element will be shown
with 2D effect but the children will be rendered into the 3D plane.
c. Both the element and its
children elements will be rendered in 3D effect.
d. Both the element and its
children elements will be rendered in 2D effect.
Question: 40
Which of the following is the
initial value for the column-fill property?
a. Auto
b. Balance
(Answer)
c. none
Question: 41
Which of the given options
is/are equivalent to the following rule?
DIV { line-height: 1.2;
font-size: 10pt }
a. DIV {
line-height: 1.2em; font-size: 10pt } (Answer)
b. DIV { line-height: 12em;
font-size: 10pt }
c. DIV {
line-height: 120%; font-size: 10pt } (Answer)
d. DIV { line-height: 20%;
font-size: 10pt }
e. DIV { line-height: 80%;
font-size: 10pt }
Question: 42
Consider the following code
and say what will happen if you click on More?
@media print {
.footnote {
float: footnote;
content: target-move(attr(href,
url))
}
.marker {
display: none
}
}
HTML code:
John was a great writer
[More]. ...
[More] Great poet too.
a. The tool tip will appear
saying Great poet too.
b. A pop up will appear
saying Great poet too.
c. The page will shift focus
to the line Great poet too.
d. Nothing
will happen. (Answer)
Question: 43
Which of the following
property doesn't take up space?
a. Outline
(Answer)
b. Border
c. Both a and b
Question: 44
Which of the following
properties specifies the minimum number of lines of a paragraph that must be
left at the bottom of a page?
a. Orphans
(Answer)
b. Widows *
c. Bottom
d. Overflow
e. None of the above
Question: 45
What is the initial value of
the marquee-speed property?
a. Slow
b. Normal
(Answer)
c. Fast
d. none
Question: 46
If the following rule is
used, what will be the output?
:focus,:active {
outline-offset: 10px }
a. The focus
outline will appear at a distance of 10 pixels from the active element.
(Answer)
b. The width of the focus
outline will be 10 pixels.
c. No outline will be shown.
Question: 47
What is the initial value of
the hyphens property?
a. None
b. Manual
(Answer)
c. Auto
d. default
Question: 48
Consider the following font
definition
font-weight:normal
What is the other way of
getting the same result?
a. font-weight:100
b. font-weight:900
c. font-weight:400
(Answer)
d. font-weight:700
Question: 49
What will happen if the
following style declaration is applied to an element?
p { margin: 3em 2em }
a. The top
and the bottom margins will be 3em and the left and the right margins will be
2em. (Answer)
b. The top and the bottom
margins will be 2em and the left and the right margins will be 3em.
c. The top and the left
margins will be 3em and the bottom and the right margins will be 2em.
d. The top and the right
margins will be 2em and the bottom and the left margins will be 3em.
Question: 50
What will happen if the pause
property is used as follows?
h2 { pause: 40s 60s }
a. pause-before
will be set to 40 seconds and pause-after will be set to 60 seconds. (Answer)
b. pause-after will be set to
40 seconds and pause-before will be set to 60 seconds.
c. pause-after and
pause-before will be set to 40 seconds.
d. pause-after and
pause-before will be set to 60 seconds.
Question: 51
If you set the value of the
speak property to digits, how would 22 be spoken?
a. twenty two
b. two two
(Answer)
c. twenty and two
d. four
Question: 52
State whether following
statement is true or false?
The RGB color model is
hardware-specific while the HSL is symmetrical to lightness and darkness.
a. True
(Answer)
b. False
Question: 53
Which of the given rules
would result in an object being rendered as below?
a. div {
content: '1' } div::before { content: '2'; } div::before::before { content:
'3'; } (Answer)
b. div { content: '3' }
div::before { content: '2'; } div::before::before { content: '1'; }
c. div { content: '1' }
div::before { content: '2'; } div::before(2) { content: '3'; }
d. div { content: '3' }
div::before { content: '2'; } div::before(2) { content: '1'; }
Question: 54
Which of the following option
does NOT exist in media groups available in CSS3?
a. continuous or paged
b. visual or tactile
c. grid or bitmap
d. braille
or screen (Answer)
Question: 55
What effect does the
following rule have?
div { grid-rows: 4em (0.25em
1em); }
a. It creates rows with 4em
height.
b. It creates a header row
with 4em height and alternative rows with 0.25em width and 1em heights.
c. It
creates a header row with 4em height and alternative rows with 0.25em and 1em
heights. (Answer)
d. It creates a header row
with 4em width and alternative rows with 0.25em width and 1em heights.
Question: 56
For the clear property, which
of the following value is not valid?
a. None
b. Left
c. Right
d. Top
(Answer)
Question: 57
What is the initial value of
the animation-iteration-count property?
a. 0
b. 1
(Answer)
c. 5
d. None
Question: 58
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. Two style sheets can't be
included with @import.
b. The body tag can't be
included inside @media.
c. @import
rule is invalid since it occurs inside a @media block. (Answer)
d. It is valid.
Question: 59
What is the type of the
letter-spacing property?
a. Length
(Answer)
b. Number *
c. Percentage
d. integer
Question: 60
What is the initial/ default
value of the text-align property?
a. Start
(Answer)
b. End
c. Left
d. Right
e. Center
f. justify
Question: 61
State whether the following
statement is true or false?
If a parent element display
property is set to none, its children too will not be rendered.
a. True
(Answer)
b. False
Question: 62
What is the best method to
select all elements except for the last one in an unordered list?
a. Adding a class to each
<li> element but last
b. Using
li:not(:last-child) css selector (Answer)
c. Using li:last-child
selector
d. None of the above
Question: 63
What is the default value of
the transform-style property?
a. preserve-3d
b. flat
(Answer)
c. none
d. preserve
Question: 64
Consider the following code:
body { text-replace:
"a" "b" "b" "c" }
What will be the output of
the following string if the text-replace style is implemented?
a. andy lives behind café
b. ndy lives behind cbfe
c. cndy
lives cehind ccfe (Answer)
d. andy lives behind cafe
e. andy lives cehind bafe
Question: 65
Consider the following code:
border-opacity:0.7;
Given a div element that
needs to have a transparent red border, which of the following code samples
will work in conjunction with the code above to accomplish the requirement?
a. border:
1px solid rgba(255, 0, 0, 0.7); (Answer)
b. border: 1px solid rgb(255,
0, 0, 0.7);
c. border: 1px solid
rgba(255, 255, 0, 0.7);
d. border: 1px solid red;
opacity: 0.7;
Question: 66
Which of the following is
correct?
Note: There may be more than
one right answer.
a.
div:nth-child(4), (Answer)
b.
div:nth-child(8), (Answer)
c.
div:nth-child(12), (Answer)
d.
div:nth-child(16) { } (Answer)
e.
div:nth-child(4n) { } (Answer)
f.
div:nth-child(4n+4) { } (Answer)
div:nth-child(3n+4)
Question: 67
The min-width property cannot
be applied to the following element:
a. button
b. span
(Answer)
c. table row
Question: 68
Which of the following will
create a triangle effect using pure CSS3 on a white background, without making
use of background images?
It is not possible to do so.
a. border-color: #a0c7ff #ffffff #ffffff
#ffffff;
border-style: solid;
border-width: 20px;
width: 0px;
height: 0px; (Answer)
b. background-color: #a0c7ff #ffffff #ffffff
#ffffff;
border-style: solid;
border-width: 20px;
width: 0px;
height: 0px;
c. background-color: #a0c7ff #ffffff #ffffff
#ffffff;
border-style: solid;
border-width: 1px;
width: 10px;
height: 10px;
Question: 69
Which of the following will
apply a black inner glow with 25% opacity to a page element?
a.
box-shadow: 0 0 8px rgba(255,255,255, 0.25);
box-shadow:
inset 0 0 8px rgba(0,0,0, 0.25); (Answer)
b. box-shadow: 0 0 8px
rgba(255,255,255, 25%);
box-shadow: inset 0 0 8px
rgba(0,0,0, 25%);
c. <div>Lorem
ipsum</div>
box-shadow: 0 0 8px 2px #888;
(Answer)
d. border-shadow: 0 0 8px 2px
#888;
div-shadow: 8px 2px 0 0 #888;
e. None of these
Question: 70
To make childdiv vertically
center of given code, what should the "display" property of parentdiv
and childdiv be?
#parentdiv
{
width: 200px;
height: 400px;
vertical-align: middle;
}
#childdiv
{
width: 100px;
height: 50px;
}
<div
id="parentdiv">
<div id="childdiv">Vertical
Center</div>
</div>
a.
display:table-cell; for parentdiv and display:inline-block; for childdiv (Answer)
b. display:block; for
parentdiv and display:inline-block; for childdiv
c. display:inline-block; for
parentdiv and display:table-cell; for childdiv
d. display:inline-block; for
parentdiv and display:inline-block; for childdiv
Question: 71
Using height on transitions
is not possible with:
a.
height:auto (Answer)
b. height:100%
c. height:0
d. max-height:100%
Question: 72
To apply style on every input
element except text, which of the following selectors should be used?
a. input:([!type='text'])
b. input:not([type="text"])
(Answer)
c.
input:not([type!="text"])
d. input:([type!='text'])
Question: 73
What is the default value of
the animation-direction property?
a. none
b. normal
(Answer)
c. alternate
d. inherited
Question: 74
Is it possible to format
numbers with CSS?
a. No, CSS
cannot be used for that purpose. (Answer)
b. Yes, it can be done using
the number-format property.
c. Yes, it can be done using
the decimal property.
d. None of these.
Question: 75
Which one of the following is
appropriate to mirror/flip text by using CSS3?
a. .mirror_text{
-moz-transform: scaleX(-1);
-o-transform: scaleX(-1);
-webkit-transform: scaleX(-1);
transform: scaleX(-1);
filter: FlipH;
-ms-filter: "FlipH";
}
b. .mirror_text{
Box-reflect; 20px right;
}
c. .mirror_text{
Box-reflect; 20px left;
}
d. .mirror_text{
-moz-transform: rotate(-180deg);
-webkit-transform: rotate(-180deg);
transform: rotate(-180deg);
} (Answer)
Question: 76
While rendering the following
code, what is the role of "src" propery?
@font-face {
font-family: "calibriforh1";
src: local("calibri"),
url(calibri.woff);
}
h1 { font-family:
"calibriforh1", arial, sans-serif; }
a. It's for searching the
user's system for a "calibri" font, and if it does not exist, it will
load the font from the server instead.
b. It's for searching the
user's system for a "calibri" font, and if it does not exist, it will
load user's system's default font instead.
c. It's for loading the
user's system's default font.
d. None of
these. (Answer)
Question: 77
Consider the following code:
div[class^="stronger"]
{ }
{em
...
}
Which of the following
statements is true?
a. It
applies the rule only on divs who belong to a class that begins with
"stronger". (Answer)
b. It applies the rule only
on divs of class "stronger".
c. It applies the rule only
on divs who belong to a class which end with "stronger".
d. It applies the rule only
on divs who belong to a class which does not contain "stronger" in
its name.
Question: 78
Is it possible to use
transition animations with a gradient background?
a. Yes
b. No
(Answer)
Question: 79
…………….
<style>
.foo {
width:100px;
height:50px;
border-width:3px;
-webkit-border-image:
-webkit-gradient(linear,
0 0, 0 100%, from(black), to(red)) 1 100%;
-webkit-border-image:
-webkit-linear-gradient(black,
red) 1 100%;
-o-border-image:
-o-linear-gradient(black, red)) 1 100%;
-moz-border-image:
-moz-linear-gradient(black, red) 1
100%;
}
</style>
...
<div class="foo">Lorem</div>
a. The text "Lorem"
will be colored black-red.
b. The div element will be
colored black-red.
c. The
border of div element will be colored black-red. (Answer)
d. None of these.
Question: 80
Consider the following code
snippet:
<div
id="sectors">
<div id="A"
class="A"></div>
<div id="B"
class="B"></div>
<div id="C"
class="C"></div>
<div id="D"
class="D"></div>
<div id="E"
class="E"></div>
</div>
With these style rules:
<style>
#sectors > div {
float: left;
position: relative;
width: 80px;
height: 80px;
margin: 16px;
background-color:red; color:
white;
text-align: center;
}
#sectors > div::after {
content: attr(id) '-Block';
}
#sectors > div.changecolor
{
background-color: blue;
}
</style>
Which of the following code
snippets when inserted into CSS will change the A and B div’s color from red to
blue?
a. In style
rule add this code “#sectors >
div:not(.C):not(.D):not(.E) {background-color: blue;}” (Answer)
b. In style rule add this
code “#sectors > div:not(.C, .D, .E)
{background-color: blue;}”
c. Both A and B
d. None of the above
Question: 81
Which of the following
statements is true with regard to CSS3 transitions?
Using CSS transitions will
slow down page upload and produce lag.
The completion of a CSS
transition generates a corresponding DOM event. An event is fired for each
property that undergoes a transition. This allows a content developer to
perform actions that synchronize with the completion of a transition.
CSS transitions allow DOM
events in CSS values to occur smoothly over a specified duration.
None of
these. (Answer)
Question: 82
Is it possible to combine a
background image and CSS3 gradients?
It is possible only when two
separate styles are used, "background-image" and
"gradient", on an HTML tag.
a. It is
possible only when "background-image" is used. (Answer)
b. It is possible only when
layered HTML tags are used, "background-image" and
"gradient".
c. It is not possible to
combine a background image and CSS3 gradients.
Question: 83
Consider the following
problem:
When trying to apply a CSS3
style to a label of a checked radio button like this:
....
<style>
label:checked { font-weight:
bold; }
</style>
....
<input
type="radio" id="rad" name="radio"/>
<label
for="rad">A Label</label>
This does not produce the
desired effect.
Which of the following
snippets will correct issue?
It is not possible to style.
a. <input id="rad"
type="radio" name="rad"><label "rad">A
Label</label>
b. input[type="radio"]:checked+label{
font-weight: bold; } (Answer)
c. input[type="radio"]:checked@label{
font-weight: bold; }
Question: 84
Is there a way to create a
pure CSS3 text color gradient?
a. Yes, using the
text-gradient property.
b. Yes, but only for headings.
c. There is no way to do a text color gradient
with CSS3. (Answer)
d. None of the above.
Question: 85
What does the following code
perform in devices which have 640 x 320 resolution?
<link
rel="stylesheet" media="screen"
href="style.css">
<link rel="stylesheet"
media="only screen and (min-width: 800px)" href="a.css">
a. It loads both the
stylesheets but apply classes of a.css only.
b. It loads
only style.css. (Answer)
c. It loads both the
stylesheets and apply classes of the style.css only.
d. It doesn't load any
stylesheets.
Question: 86
Given that one div element
needs to be hidden and on active state needs to be displayed, what will be the
output of the following code?
div {
display: none;
-webkit-transition: opacity 1s ease-out;
opacity: 0;
}
div.active {
opacity: 1;
display: block;
}
a. On active state the
element is displayed.
b. On active state the
element's opacity is changed to 1.
c. On active state the
element's opacity is changed to 0.
d. Nothing will be shown.
Question: 87
Which of the following
properties doesn"t take up space?
a. outline
(Answer)
b. border
c. Both a and b
Question: 88
backface-visibility:hidden;
will this property hide the back side when an element is rotated?
a.Yes (Answer)
b.No
Question: 89
What is the default value of
the text-align property?
a.start *
b.end
c.left (Answer)
d.right
e.center
f.justify
Question: 90
Problem to solve:
Need to use attribute
selector in css to change link on different color and image.
The following code is not
working correctly:
<style>
a {
display: block;
height: 25px;
padding-left: 25px;
color:#333;
font: bold 15px Tahoma;
text-decoration: none;
}
a[href='.pdf'] { background: red; }
</style>
.....
<a
href="/manual.pdf">A PDF File</a>
Which of the following code
snippets will correct issue?
a.
a[href$='.pdf'] { /*css*/ } (Answer)
b. a[href#='.pdf'] { /*css*/
}
c. a[href@='.pdf'] { /*css*/
}
d. a{href$='.pdf'} [/*css*/ ]
Question: 91
Which of the following
property doesn’t take up space?
a. outline
b. border
c. Both a
and b (Answer)
No comments:
Post a Comment