HTML Head Title Title Head Body h1 h1 P P Body HTML
HTML Head Title Title Head Body h1 h1 P P Body HTML
<!DOCTYPE html>
<html>
<head>
<title>Title Page</title>
</head>
<body>
<h1>Heading Line</h1>
<p>Paragraph Lines</p>
</body>
</html>
From the above code, the components of an HTML file document is as explained
below:
The general syntax for an HTML element is defined by a start tag, an end tag, and
some content enclosed within it. For some HTML elements, the end tag is not needed
a. Value
b. Declaration
c. Selector
d. Rule
a. class
b. tag
d. id
Answer: (d) id
a. <!DOCTYPE html>
b. <css>
c. <style>
d. <script>
4. Which of these functions would convert the color of an element by the filter property
to a grey shade, for use?
a. grayscale()
b. shade()
c. brightness()
d. black()
a. perspective
b. matrix3d()
c. matrix2d()
d. matrix()
6. Which one of these is NOT an appropriate value for the font-variant property?
a. small-caps
b. large-caps
c. default
d. inherit
7. Which value is a slightly bolder weight than the standard bold in the font attribute?
a. dark
b. lighter
c. light
d. emphasize
a. text-align
b. float
d. centre
a. CSS4
b. CSS3
c. CSS2
d. CSS1
10. ___________ describes the CSS properties for manipulating the “ruby” position, that
are small annotations next to or on top of words, especially common in Japanese and
Chinese.
a. text-align
b. lang
c. ruby
d. align
11. What tag do you use to directly write the style rules within a document found within
the document’s head?
a. <css>
b. <style>
c. <php>
d. <script>
b. computer devices
c. handheld screens
d. all devices
a. check
b. controls
c. loop
d. src
14. The CSS property that is primarily used for giving a line over a text would be:
a. text-decoration: none
b. text-decoration: line-through
c. text-decoration: underline
d. text-decoration: overline
15. Which of these measurements would define a measurement that is relative to the x-
height of a font?
a. px
b. pt
c. em
d. ex
Answer: (d) ex
16. Which property sets the actual amount of spacing between the various letters?
a. letter-spacing
b. letter-space
c. line-height
d. space
17. Which CSS3 Color Feature could be used as a macro for any current color?
a. HSLa Color
b. RGB Color
c. CurrentColor keyword
d. HSL Color
18. Which CSS3 Color Feature is like RGB color and adds the alpha channel value so
as to specify a color’s opacity?
a. AlphaRGB
b. RGBalpha
c. RGBa
d. RGB
a. :target
b. :only-of-type
c. @media
d. ::selection
20. Which of these protocols would enable a hyperlink to easily access any file on the
available local file system?
a. ftp
b. https
c. telnet
d. file
1.
What is css stands for
A. Color Style Sheets
Play
Unmute
Loaded: 1.20%
Fullscreen
2.
In css what does h1 can be called as
A. Selector
B. Attribute
C. Value
D. Tag
3.
In css what does “color:red” can be called as
A. Selector
B. Rule
C. Declaration
4.
Which of the following attributes is used to specify
elements to bind style rules to?
A. id
B. class
C. tag
5.
________ selectors, which are used to specify a rule to
bind to a particular unique element
A. id
B. class
C. tag
6.
In css what does “font-size” can be called as
A. Selector
B. Rule
C. Property
D. Property-Name
7.
_________ selectors, which are used to specify a group
of elements
A. id
B. class
C. tag
8.
__________ implementation that introduced text, list,
box, margin, border, color, and background properties.
A. css
B. html
C. ajax
D. php
9.
Is it the best way to include H1 heading only one time in
the web page. State true or false.
A. True
B. False
10.
Is it the best way to include H1 heading only one time in
the web page. State true or false.
A. True
B. False
11.
Which of the following element is used by the filter
property to blur the images?
A. opaque()
B. scatter()
C. blur()
D. all of the mentioned
Powered By
Play
Unmute
Loaded: 1.20%
Fullscreen
12.
Which of the following function adjust the brightness of
an element’s color, for use by the filter property?
A. contrast()
B. dark()
C. light()
D. brightness()
13.
Which of the following function adjusts the difference
between light and dark values, for use by the filter
property?
A. contrast()
B. dark()
C. light()
D. brightness()
14.
Which of the following function with filter property to
create your own sophisticated effects on DOM
elements?
A. create()
B. DOM()
C. custom()
15.
Which of the following function converts an element’s
color to a shade of gray, for use by the filter property?
A. shade()
B. grayscale()
C. black()
D. brightness()
16.
Which of the following function flips an element’s
colors, for use by the filter property?
A. image()
B. flip()
C. invert()
D. contrast()
Answer & Solution Discuss in Board Save for Later
17.
Which of the following function applies a saturation
effect to an element’s color, making it appear more or
less vivid, for use by the filter property?
A. color()
B. saturation()
C. saturate()
18.
Which of the following function defines a linear
gradient as a CSS image?
A. grayscale()
B. gradient()
C. image()
D. linear-gradient()
19.
Which of the following function two dimensional
transformation in matrix format?
A. matrix()
B. matrix2d()
C. matrix3d()
D. perspective
20.
Which of the following function apply a sepia tinge to
an element’s color, typical of old photographs, for use
by the filter property?
A. grayscale()
B. sepia()
C. contrast()
D. brightness()
21.
Which of the following value is supposed to be a
slightly bolder weight that standard bold in font
attribute?
A. empasize
B. light
C. lighter
D. dark
Powered By
Play
Unmute
Loaded: 1.20%
Fullscreen
22.
Which of the following property allows contextual
adjustment of inter-glyph spacing, i.e. the spaces
between the characters in text?
A. font-style
B. font-family
C. font-kerning
D. font-variant
23.
Which of the following is not a value for font-style
property?
A. normal
B. italic
C. oblique
24.
Which of the following value specifies whether the user
agent is allowed to synthesize bold or oblique font
faces when a font family lacks bold or italic faces?
A. font-weight
B. font-synthesis
C. font-kerning
D. font-variant
25.
Which of the following selects a normal, or small-caps
face from a font family?
A. font-weight
B. font-synthesis
C. font-kerning
D. font-variant
B. default
C. large-caps
D. small-caps
27.
Which of the following property adjusts the font-size of
the fallback fonts defined with font-family, so that the x-
height is the same no matter what font is used?
A. default
B. font-size-fallback
C. font-adjust
D. font-size-adjust
28.
Which of the following Allows you to expand or
condense the widths for a normal, condensed, or
expanded font face?
A. font-style
B. font-stretch
C. font-expand
29.
Which of the following font-size-adjust is value used in
calculating the size of the fallback fonts?
A. auto
B. number
C. count
D. none
30.
“font-style comes first than font-weight in font
attribute”.State true or false.
A. True
B. False