Deck 8: CSS and HTML Style Properties and Syntax

ملء الشاشة (f)
exit full mode
سؤال
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">
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
The property in CSS used to change the---------of an element is -

A)bgcolor
B)color
C)background-color
D)All of the above
سؤال
The property in CSS used to change the text-----of an element isSol:-

A)bgcolor
B)color
C)background-color
D)All of the above
سؤال
The CSS property used to control the element's------is -

A)text-style
B)text-size
C)font-size
D)None of the above
سؤال
The HTML attribute used to define the inline------is -

A)style
B)styles
C)class
D)None of the above
سؤال
The HTML attribute used to define the internal style sheet is ------

A)<style>
B)style
C)<link>
D)<script>
سؤال
Which of the following is the correct syntax to make the background-color of allparagraph elements to yellow?

A)p {background-color : yellow;}
B)p {background-color : #yellow;}
C)all {background-color : yellow;}
D)all p {background-color : #yellow;}
سؤال
Which of the following is the correct syntax to display the hyperlinks without any underline?

A)a {text-decoration : underline;}
B)a {decoration : no-underline;}
C)a {text-decoration : none;}
D)None of the above
سؤال
Which of the following property is used as the shorthand property for the padding properties?

A)padding-left
B)padding-right
C)padding
D)All of the above
سؤال
The CSS property used to make the-------is -

A)font-weight : bold
B)weight: bold
C)font: bold
D)style: bold
سؤال
Are the negative values allowed in padding property?

A)Yes
B)No
C)Can't say
D)May be
سؤال
Which of the following property is used as the shorthand property of marginproperties?

A)margin-left
B)margin-right
C)margin
D)None of the above
سؤال
Which of the following is used to specify the subscript of text using CSS?

A)vertical-align: sub
B)vertical-align: super
C)vertical-align: subscript
D)None of the above
سؤال
The-----CSS is also a method to insert style sheets in HTML document. Thismethod mitigates some advantages of style sheets so it is advised to use this method sparingly.

A)CSS
B)inline
C)internal
D)external
سؤال
-----style sheet is generally used when you want to make changes on multiple pages. It is ideal for this condition because it facilitates you to change the look of the entire web site by changing just one file.

A)CSS
B)inline
C)internal
D)external
سؤال
-----tag is used to display the list in order wise like 1,2 3.. or A,B,C..

A)<meta>
B)<ul>
C)<ol>
D)<map>
سؤال
----tag is used to display the bullet wise list in unordered wise.

A)<meta>
B)<ul>
C)<ol>
D)<map>
سؤال
-----tag is used to specify the page description ,keyword, author name, it isadditional information about the information.

A)<meta>
B)<ul>
C)<ol>
D)<map>
سؤال
-----tag is used to define the list item.

A)<li>
B)<ul>
C)<ol>
D)<map>
سؤال
-----is used to define the width of border while cellpadding define distance betweencell border and content within it .

A)<cellspacing>
B)<ul>
C)<ol>
D)<map>
سؤال
cellspacing is used to define the width of border while------define distancebetween cell border and content within it .

A)<cellspacing>
B)<cellpadding>
C)<ol>
D)<map>
سؤال
------tag is used to declaring the title or name of the html document.

A)<body>
B)<title>
C)<head>
D)<center>
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/22
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 8: CSS and HTML Style Properties and Syntax
1
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">
<style src = "example.css" >
2
The property in CSS used to change the---------of an element is -

A)bgcolor
B)color
C)background-color
D)All of the above
background-color
3
The property in CSS used to change the text-----of an element isSol:-

A)bgcolor
B)color
C)background-color
D)All of the above
color
4
The CSS property used to control the element's------is -

A)text-style
B)text-size
C)font-size
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
5
The HTML attribute used to define the inline------is -

A)style
B)styles
C)class
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
6
The HTML attribute used to define the internal style sheet is ------

A)<style>
B)style
C)<link>
D)<script>
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
7
Which of the following is the correct syntax to make the background-color of allparagraph elements to yellow?

A)p {background-color : yellow;}
B)p {background-color : #yellow;}
C)all {background-color : yellow;}
D)all p {background-color : #yellow;}
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
8
Which of the following is the correct syntax to display the hyperlinks without any underline?

A)a {text-decoration : underline;}
B)a {decoration : no-underline;}
C)a {text-decoration : none;}
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
9
Which of the following property is used as the shorthand property for the padding properties?

A)padding-left
B)padding-right
C)padding
D)All of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
10
The CSS property used to make the-------is -

A)font-weight : bold
B)weight: bold
C)font: bold
D)style: bold
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
11
Are the negative values allowed in padding property?

A)Yes
B)No
C)Can't say
D)May be
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
12
Which of the following property is used as the shorthand property of marginproperties?

A)margin-left
B)margin-right
C)margin
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
13
Which of the following is used to specify the subscript of text using CSS?

A)vertical-align: sub
B)vertical-align: super
C)vertical-align: subscript
D)None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
14
The-----CSS is also a method to insert style sheets in HTML document. Thismethod mitigates some advantages of style sheets so it is advised to use this method sparingly.

A)CSS
B)inline
C)internal
D)external
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
15
-----style sheet is generally used when you want to make changes on multiple pages. It is ideal for this condition because it facilitates you to change the look of the entire web site by changing just one file.

A)CSS
B)inline
C)internal
D)external
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
16
-----tag is used to display the list in order wise like 1,2 3.. or A,B,C..

A)<meta>
B)<ul>
C)<ol>
D)<map>
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
17
----tag is used to display the bullet wise list in unordered wise.

A)<meta>
B)<ul>
C)<ol>
D)<map>
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
18
-----tag is used to specify the page description ,keyword, author name, it isadditional information about the information.

A)<meta>
B)<ul>
C)<ol>
D)<map>
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
19
-----tag is used to define the list item.

A)<li>
B)<ul>
C)<ol>
D)<map>
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
20
-----is used to define the width of border while cellpadding define distance betweencell border and content within it .

A)<cellspacing>
B)<ul>
C)<ol>
D)<map>
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
21
cellspacing is used to define the width of border while------define distancebetween cell border and content within it .

A)<cellspacing>
B)<cellpadding>
C)<ol>
D)<map>
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
22
------tag is used to declaring the title or name of the html document.

A)<body>
B)<title>
C)<head>
D)<center>
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 22 في هذه المجموعة.