Q.
If we want define style for an unique element, then which css selector will we use
?
[Link]
[Link]
[Link]
[Link]
Answer : Id [Option : A]
Q. If we don't want to allow a floating div to the left side of an element, which css
property will we use ?
[Link]
[Link]
[Link]
[Link]
Answer : clear [Option : B]
Q. Suppose we want to arragnge five nos. of DIVs so that DIV4 is placed above DIV1.
Now, which css property will we use to control the order of stack?
A.d-index
B.s-index
C.x-index
D.z-index
Answer : z-index [Option : D]
Q. Can we align a Block element by setting the left and right margins ?
[Link], we can
[Link] Possible
Answer : Not Possible [Option : B]
Q. If we want to wrap a block of text around an image, which css property will we use ?
[Link]
[Link]
[Link]
[Link]
Answer : float [Option : C]
Q. Can we define the text direction via css property ?
[Link], we can
[Link], we can't
Answer : Yes, we can [Option : A]
Q. Is it possible to declare font-weight, font-face & font-size by using ONLY ONE css
propery ?
[Link], it's possible
[Link], not possible
Answer : Yes, it's possible [Option : A]
Q. If we want to show an Arrow as cursor, then which value we will use ?
[Link]
[Link]
[Link]
[Link]
Answer : default [Option : B]
Q. If we want to use a nice looking green dotted border around an image, which css property will we use?
[Link]-color
[Link]-decoration
[Link]-style
[Link]-line
Answer : border-style [Option : C]
Q. Which of the following properties will we use to display border around a cell without any
content ?
[Link]-cell
[Link]-cell
[Link]-cell
[Link]-cell
Answer : empty-cell [Option : A]
Q. What should be the table width, so that the width of a table adjust to the current width of
the browser window?
A.640 pixels
B.100%
[Link]-screen
D.1024 px
Answer : 100% [Option : B]
Q. Which element is used in the <HEAD> section on an HTML / XHTMLpage, if we want to
use an external style sheet file to decorate the page ?
A.<src>
B.<link>
C.<style>
D.<css>
Answer : <link> [Option : B]
Q. Which attribute can be added to many HTML / XHTML elements to identify them as a
member of a specific group ?
[Link]
[Link]
[Link]
[Link]
Answer : class [Option : C]
Q. When we write <img src="[Link]">, what "[Link]" inside double quote implies?
[Link]
[Link]
[Link]
[Link]
Answer : value [Option : C]
Q. How can we write comment along with CSS code ?
A./* a comment */
B.// a comment //
C./ a comment /
D.<' a comment'>
Answer : /* a comment */ [Option : A]
Q. Which css property you will use if you want to add some margin between a DIV's border
and its inner text ?
[Link]
[Link]
[Link]
[Link]-margin
Answer : padding [Option : C]
Q. Which CSS property is used to control the text size of an element ?
[Link]-style
[Link]-size
[Link]-size
[Link]-style
Answer : font-size [Option : C]
Q. The default value of "position" attribute is _________.
[Link]
[Link]
[Link]
[Link]
Answer : relative [Option : D]
Q. How will you make all paragraph elements 'RED' in color ?
[Link] {color: red;}
[Link] {color: #990000;}
[Link].p {color: #998877;}
D.p {color: red;}
Answer : p {color: red;} [Option : D]
Q. By default Hyperlinks are displayed with an underline. How do you remove the underline
from all hyperlinks by using CSS code ?
A.a {text: no-underline;}
B.a {text-decoration:none;}
C.a {text-style: no-underline;}
D.a {text-decoration: no-underline;}
Answer : a {text-decoration:none;} [Option : B]