Cascading sytle sheet 17 December
.
----stands for Cascading Style Sheets.
A. CSS
B. inline
C. internal
D. external
A. CSS
2.
-----describes how HTML elements are to be displayed on screen, paper, or in
other
media.
A. CSS
B. inline
C. internal
D. external
A. CSS
3.
------saves a lot of work. It can control the layout of multiple web pages all
at once.
A. CSS
B. inline
C. internal
D. external
A. CSS
4.
An------CSS is used to apply a unique style to a single HTML element
A. CSS
B. inline
C. internal
D. external
B. inline
5.
An-----CSS is defined in the <head> section of an HTML page, within
a <style> element:
A. CSS
B. inline
C. internal
D. external
C. internal
6.
With an--------style sheet, you can change the look of an entire web site, by
changing one file!
A. CSS
B. inline
C. internal
D. external
D. external
7.
An external style sheet can be written in any text editor. The file must not
contain
any HTML code, and must be saved with a -------extension.
A. .CSS
B. .TXT
C. .JS
D. .XLS
A. .CSS
8.
The CSS-------property defines the text color to be used.
A. color
B. font-family
C. font -size
D. border
A. color
9.
The CSS------property defines the font to be used.
A. color
B. font-family
C. font -size
D. border
B. font-family
10.
The CSS---------property defines the text size to be used.
A. color
B. font-family
C. font -size`
D. border
C. font -size`
11.
The CSS-------property defines a border around an HTML element:
A. color
B. font-family
C. font -size`
D. border
D. border
12.
The CSS--------property defines a margin (space) outside the border
A. color
B. font-family
C. font -size`
D. Margin
D. Margin
13.
To define a style for special types of elements, add a-----attribute is apply
to the
element
A. color
B. font-family
C. font -size`
D. class
D. class
14.
-------are used to explain the code, and may help when you edit the source code
at
a later date.
A. color
B. font-family
C. font -size`
D. comments
D. comments
15.
------are ignored by browsers.
A. color
B. font-family
C. font -size`
D. comments
D. comments
16.
------stands for -
A. Cascade style
sheets
B. Color and
style sheets
C. Cascading
style sheets
D. None of the
above
A. Cascade style
sheets
17.
Which of the following is the correct syntax for referring the external style
sheet?
A. <style src
= example.css>
B. <style src
= "example.css" >
C. <stylesheet>
example.css </stylesheet>
D. <link
rel="stylesheet" type="text/css"
href="example.css">
B. <style src
= "example.css" >
18.
The property in CSS used to change the---------of an element is -
A. bgcolor
B. color
C. background-color
D. All of the
above
C. background-color
19.
The property in CSS used to change the text-----of an element is
Sol:
-
A. bgcolor
B. color
C. background-color
D. All of the
above
B. color
20.
The CSS property used to control the element's------is -
A. text-style
B. text-size
C. font-size
D. None of the
above
C. font-size
21.
The HTML attribute used to define the inline------is -
A. style
B. styles
C. class
D. None of the
above
A. style
22.
The HTML attribute used to define the internal style sheet is ------
A. <style>
B. style
C. <link>
D. <script>
B. style
23.
Which of the following CSS property is used to set the background image of an
element?
A. background-attachment
B. background-image
C. background-color
D. None of the
above
B. background-image
24.
Which of the following is the correct syntax to make the background-color of
all
paragraph elements to yellow?
A. p
{background-color : yellow;}
B. p
{background-color : #yellow;}
C. all
{background-color : yellow;}
D. all p
{background-color : #yellow;}
A. p
{background-color : yellow;}
25.
Which of the following is the correct syntax to display the hyperlinks without
anyunderline?
A. a
{text-decoration : underline;}
B. a {decoration
: no-underline;}
C. a
{text-decoration : none;}
D. None of the
above
C. a
{text-decoration : none;}
Comments
Post a Comment