Deck 3: Configuring Color and Text With Css

ملء الشاشة (f)
exit full mode
سؤال
Select the code below that uses CSS to configure a class called "offer" with blue text that uses the Arial or sans-serif font typeface .

A) #offer { color:blue; font-family:Arial,sans-serif;}
B) .offer { color:blue; font-family:Arial,sans-serif;}
C) .offer { text:blue; font-family:Arial,sans-serif;}
D) #offer { color:blue; font-family:Arial,sans-serif;}
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
When CSS is coded in the body of the web page as an attribute of an HTML tag it is called ________.

A) Embedded
B) Inline
C) External d Imported
سؤال
Which CSS property configures the color of text?

A) text-color
B) font-color
C) color
D) font-style
سؤال
Use the ______ tag to associate a web page with an external style sheet.

A) < target >
B) < a >
C) < include >
D) < link >
سؤال
Use the ______ tag to configure a generic area on a web page that is embedded within a paragraph or other block display element.

A) < div >…< /div >
B) < span >… < /span >
C) < title > … < /title >
D) < meta > …< /meta >
سؤال
To apply a style to a certain group of elements on a web page, configure a CSS _____________.

A) group
B) id
C) class
D) None of the above
سؤال
Which CSS property can be used to configure italic text?

A) font-italic
B) font-style
C) font-weight
D) font-type
سؤال
CSS was first proposed as a standard by the W3C in ______.

A) 1996
B) 2002
C) 1992
D) none of the above
سؤال
The declaration property used to set the text color on a web page is:

A) bgcolor
B) text-color
C) color
D) None of the above
سؤال
To associate an external style sheet with a web page, code:

A) a link element in the body section of the web page
B) a link element in the head section of the web page
C) a style element in the body section of the web page
D) a style element in the head section of the web page
E)
سؤال
Which CSS property configures the size of text?

A) text-size
B) font-size
C) size
D) font-weight
سؤال
Use the ______ tag to configure a section of a web page that is physically separated from others.

A) < div >…< /div >
B) < span >… < /span >
C) < a > … < /a >
D) < i > … < /i >
سؤال
Which CSS property configures the font typeface?

A) font-face
B) font-type
C) font-family
D) font-style
E)
سؤال
An external style sheet uses the _____ file extension.

A) ess
B) css
C) htm
D) No file extension is necessary
سؤال
Select the code below that uses CSS to configure an id named "example" that configures small, italic text.

A) #exampe{ font-size: small; font-weight: italic; }
B) .example { font-size: small; font-style: italic; }
C) .example { font-size: small; font-style: italic; }
D) #example { font-size: small; font-style: italic; }
سؤال
Select the items below that can be used as a CSS Selector.

A) an HTML element
B) a class name
C)an id name
D) All of the above
سؤال
Cascading Style Sheet rules are comprised of:

A) Selectors and Declarations
B) Properties and Declarations
C) Selectors and Attributes
D) None of the above
سؤال
Select the code below that uses CSS to configure a background color of #eaeaea for a web page.

A) body {background-color:#eaeaea; }
B) document {background-page:#eaeaea; }
C) body {bgcolor:#eaeaea; }
D) None of the above
سؤال
Use the _____ tag to code embedded styles on a web page.

A) < link >
B) < style > .. < /style >
C) < embed >
D) none of the above
سؤال
Use the __________ property to configure bold text using CSS

A) bold
B) font-style
C) font-weight
D) you cannot configure bold text with CSS
سؤال
Which CSS property configures the capitalization of text?

A) font-type
B) text-transform
C) text-decoration
D) font-weight
سؤال
The ___________________ property configures a shadow effect on the text displayed within an element.

A) font-weight
B) shadow
C) text-shadow
D) font-style
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/22
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 3: Configuring Color and Text With Css
1
Select the code below that uses CSS to configure a class called "offer" with blue text that uses the Arial or sans-serif font typeface .

A) #offer { color:blue; font-family:Arial,sans-serif;}
B) .offer { color:blue; font-family:Arial,sans-serif;}
C) .offer { text:blue; font-family:Arial,sans-serif;}
D) #offer { color:blue; font-family:Arial,sans-serif;}
B
2
When CSS is coded in the body of the web page as an attribute of an HTML tag it is called ________.

A) Embedded
B) Inline
C) External d Imported
B
3
Which CSS property configures the color of text?

A) text-color
B) font-color
C) color
D) font-style
C
4
Use the ______ tag to associate a web page with an external style sheet.

A) < target >
B) < a >
C) < include >
D) < link >
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
5
Use the ______ tag to configure a generic area on a web page that is embedded within a paragraph or other block display element.

A) < div >…< /div >
B) < span >… < /span >
C) < title > … < /title >
D) < meta > …< /meta >
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
6
To apply a style to a certain group of elements on a web page, configure a CSS _____________.

A) group
B) id
C) class
D) None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
7
Which CSS property can be used to configure italic text?

A) font-italic
B) font-style
C) font-weight
D) font-type
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
8
CSS was first proposed as a standard by the W3C in ______.

A) 1996
B) 2002
C) 1992
D) none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
9
The declaration property used to set the text color on a web page is:

A) bgcolor
B) text-color
C) color
D) None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
10
To associate an external style sheet with a web page, code:

A) a link element in the body section of the web page
B) a link element in the head section of the web page
C) a style element in the body section of the web page
D) a style element in the head section of the web page
E)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
11
Which CSS property configures the size of text?

A) text-size
B) font-size
C) size
D) font-weight
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
12
Use the ______ tag to configure a section of a web page that is physically separated from others.

A) < div >…< /div >
B) < span >… < /span >
C) < a > … < /a >
D) < i > … < /i >
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
13
Which CSS property configures the font typeface?

A) font-face
B) font-type
C) font-family
D) font-style
E)
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
14
An external style sheet uses the _____ file extension.

A) ess
B) css
C) htm
D) No file extension is necessary
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
15
Select the code below that uses CSS to configure an id named "example" that configures small, italic text.

A) #exampe{ font-size: small; font-weight: italic; }
B) .example { font-size: small; font-style: italic; }
C) .example { font-size: small; font-style: italic; }
D) #example { font-size: small; font-style: italic; }
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
16
Select the items below that can be used as a CSS Selector.

A) an HTML element
B) a class name
C)an id name
D) All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
17
Cascading Style Sheet rules are comprised of:

A) Selectors and Declarations
B) Properties and Declarations
C) Selectors and Attributes
D) None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
18
Select the code below that uses CSS to configure a background color of #eaeaea for a web page.

A) body {background-color:#eaeaea; }
B) document {background-page:#eaeaea; }
C) body {bgcolor:#eaeaea; }
D) None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
19
Use the _____ tag to code embedded styles on a web page.

A) < link >
B) < style > .. < /style >
C) < embed >
D) none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
20
Use the __________ property to configure bold text using CSS

A) bold
B) font-style
C) font-weight
D) you cannot configure bold text with CSS
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
21
Which CSS property configures the capitalization of text?

A) font-type
B) text-transform
C) text-decoration
D) font-weight
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
22
The ___________________ property configures a shadow effect on the text displayed within an element.

A) font-weight
B) shadow
C) text-shadow
D) font-style
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.