Deck 6: Box Properties

ملء الشاشة (f)
exit full mode
سؤال
Which box types appear as blocks such as paragraphs.

A) Inline-level
B) Page-level
C) List-item
D) Block-level
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Which of the following are the primary box types?

A) block, inline
B) block, flat
C) square, rectangle
D) rectangle, hierarchical
سؤال
Inline-level elements form new blocks of content.
سؤال
You can set ____ margin values to achieve special effects.

A) zero
B) positive
C) negative
D) individual
سؤال
The containing box is always which element?

A) child
B) inline
C) parent
D) block
سؤال
The padding area is between the element content and which of the following?

A) foreground
B) margin area
C) border
D) body
سؤال
The visual formatting model is based on the hierarchical structure of the HTML document and the element display type.
سؤال
When the browser collapses the vertical margins between elements, the browser adds the value of the top element's bottom margin and the bottom element's top margin.
سؤال
What margin value should you set if you want to remove the default margin spacing that is built into the browser?

A) none
B) 0
C) 1
D) negative
سؤال
The ____ margins are the top and bottom element margins.

A) spatial
B) vertical
C) horizontal
D) main
سؤال
If the paragraph element's margin-top value is 15px and margin-bottom value is 25px, the browser sets the vertical margin between paragraphs to ____ pixels.

A) 10
B) 15
C) 25
D) 40
سؤال
Margins are always transparent, showing the background of their containing element.
سؤال
CSS lets you specify margin, border, and padding values for each side of a box.
سؤال
To create a 3-D box effect, use the box-shadow property.
سؤال
In the CSS box model, which of the following is the content box?

A) outermost box
B) innermost box
C) margin box
D) border box
سؤال
The margin, border, and padding properties let you state two types of measurement values-either a ratio or a width.
سؤال
You can only use positive values when specifying margins.
سؤال
If no border-width property is included, the border is not displayed.
سؤال
The border-on property must be stated to make a border appear.
سؤال
The CSS ____ model describes how the element content boxes should be displayed by the browser.

A) visual formatting
B) box properties
C) box formatting
D) visual properties
سؤال
Which category of box property lets control the dimensions and position of content boxes?

A) paragraph formatting
B) page layout
C) screen layout
D) HTML format
سؤال
The visual formatting model is based on the ____________________ structure of the HTML document and the element display type.
سؤال
Always use ____________________ measurement values, such as ems or percentages, if you want your web pages to adapt to different browser sizes or user-applied font size..
سؤال
Which border-style keyword creates a three-dimensional border that appears to be engraved into the page?

A) groove
B) double
C) ridge
D) inset
سؤال
With the example " p {border-style: solid double dashed dotted;} ", the bottom border of a < p > element will be ____.

A) solid
B) double
C) dashed
D) dotted
سؤال
If a border style is specified that is not supported, what does the border style default to?

A) solid
B) double
C) dashed
D) none
سؤال
Which border property must be stated to make a border appear?

A) border-color
B) border-characteristics
C) border-width
D) border-style
سؤال
Using the example " p {border-color: black red green blue;} ", the bottom border of a < p > element will be ____.

A) black
B) red
C) green
D) blue
سؤال
Which property lets you align an element to the left or right of other elements?

A) width
B) clear
C) height
D) float
سؤال
When specifying the border width, what is the maximum number of values you can  use?

A) 1
B) 2
C) 3
D) 4
سؤال
Which border-style keyword creates a three-dimensional border that appears to set the entire box into the page?

A) groove
B) outset
C) ridge
D) inset
سؤال
Which property lets you lets you control situations when content is too large for the area it's designed for? 

A) clear
B) float
C) overflow
D) adjust
سؤال
The ___________ notation syntax lets you state individual margin settings within the same  rule.
سؤال
____________________ values for padding and margins are often specified in fixed page designs where the dimensions of the layout are consistent.
سؤال
Which of the following is a predefined color name?

A) Cyan
B) Magenta
C) Purple
D) Orange
سؤال
To specify rounded borders, which property should you specify?

A) border-type
B) border-style
C) border-radius
D) border-width
سؤال
The ____ property lets you control the flow of text around floated elements.

A) clear
B) float
C) text
D) flow
سؤال
What is the default border width?

A) thin
B) solid
C) medium
D) thick
سؤال
The value of the border-color property can be either a hexadecimal value, one of the predefined color names, or which of the following?

A) octal value
B) CMYK value
C) RGB value
D) binary value
سؤال
The ____________________ element is called the containing box.
سؤال
The CSS 3 ____________________ property lets you create rounded borders on block-level elements.
سؤال
Briefly describe margin properties, why you would use margins, and how you can specify them.
سؤال
If you use ____________ to specify width, the content boxes will adapt to the size of the browser or the containing element.
سؤال
Describe the measurement value types you can specify for margin, border, and padding properties. Why would you use each value type?
سؤال
What is the CSS box model?
سؤال
The ________________ property lets you control whether element boxes shrink the content area to make room for the padding and borders or whether they add these dimensions to the outside of the box.
سؤال
Describe the float, clear, and overflow properties. Show an example of each.
سؤال
The ____________________ area is between the element content and the border.
سؤال
You can overlap elements on a page by setting a(n) ___________ margin value.
سؤال
What is the CSS visual formatting model and what are the display type categories included in this model?
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/50
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 6: Box Properties
1
Which box types appear as blocks such as paragraphs.

A) Inline-level
B) Page-level
C) List-item
D) Block-level
D
2
Which of the following are the primary box types?

A) block, inline
B) block, flat
C) square, rectangle
D) rectangle, hierarchical
A
3
Inline-level elements form new blocks of content.
False
4
You can set ____ margin values to achieve special effects.

A) zero
B) positive
C) negative
D) individual
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
5
The containing box is always which element?

A) child
B) inline
C) parent
D) block
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
6
The padding area is between the element content and which of the following?

A) foreground
B) margin area
C) border
D) body
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
7
The visual formatting model is based on the hierarchical structure of the HTML document and the element display type.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
8
When the browser collapses the vertical margins between elements, the browser adds the value of the top element's bottom margin and the bottom element's top margin.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
9
What margin value should you set if you want to remove the default margin spacing that is built into the browser?

A) none
B) 0
C) 1
D) negative
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
10
The ____ margins are the top and bottom element margins.

A) spatial
B) vertical
C) horizontal
D) main
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
11
If the paragraph element's margin-top value is 15px and margin-bottom value is 25px, the browser sets the vertical margin between paragraphs to ____ pixels.

A) 10
B) 15
C) 25
D) 40
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
12
Margins are always transparent, showing the background of their containing element.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
13
CSS lets you specify margin, border, and padding values for each side of a box.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
14
To create a 3-D box effect, use the box-shadow property.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
15
In the CSS box model, which of the following is the content box?

A) outermost box
B) innermost box
C) margin box
D) border box
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
16
The margin, border, and padding properties let you state two types of measurement values-either a ratio or a width.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
17
You can only use positive values when specifying margins.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
18
If no border-width property is included, the border is not displayed.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
19
The border-on property must be stated to make a border appear.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
20
The CSS ____ model describes how the element content boxes should be displayed by the browser.

A) visual formatting
B) box properties
C) box formatting
D) visual properties
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
21
Which category of box property lets control the dimensions and position of content boxes?

A) paragraph formatting
B) page layout
C) screen layout
D) HTML format
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
22
The visual formatting model is based on the ____________________ structure of the HTML document and the element display type.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
23
Always use ____________________ measurement values, such as ems or percentages, if you want your web pages to adapt to different browser sizes or user-applied font size..
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
24
Which border-style keyword creates a three-dimensional border that appears to be engraved into the page?

A) groove
B) double
C) ridge
D) inset
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
25
With the example " p {border-style: solid double dashed dotted;} ", the bottom border of a < p > element will be ____.

A) solid
B) double
C) dashed
D) dotted
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
26
If a border style is specified that is not supported, what does the border style default to?

A) solid
B) double
C) dashed
D) none
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
27
Which border property must be stated to make a border appear?

A) border-color
B) border-characteristics
C) border-width
D) border-style
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
28
Using the example " p {border-color: black red green blue;} ", the bottom border of a < p > element will be ____.

A) black
B) red
C) green
D) blue
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
29
Which property lets you align an element to the left or right of other elements?

A) width
B) clear
C) height
D) float
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
30
When specifying the border width, what is the maximum number of values you can  use?

A) 1
B) 2
C) 3
D) 4
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
31
Which border-style keyword creates a three-dimensional border that appears to set the entire box into the page?

A) groove
B) outset
C) ridge
D) inset
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
32
Which property lets you lets you control situations when content is too large for the area it's designed for? 

A) clear
B) float
C) overflow
D) adjust
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
33
The ___________ notation syntax lets you state individual margin settings within the same  rule.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
34
____________________ values for padding and margins are often specified in fixed page designs where the dimensions of the layout are consistent.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
35
Which of the following is a predefined color name?

A) Cyan
B) Magenta
C) Purple
D) Orange
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
36
To specify rounded borders, which property should you specify?

A) border-type
B) border-style
C) border-radius
D) border-width
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
37
The ____ property lets you control the flow of text around floated elements.

A) clear
B) float
C) text
D) flow
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
38
What is the default border width?

A) thin
B) solid
C) medium
D) thick
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
39
The value of the border-color property can be either a hexadecimal value, one of the predefined color names, or which of the following?

A) octal value
B) CMYK value
C) RGB value
D) binary value
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
40
The ____________________ element is called the containing box.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
41
The CSS 3 ____________________ property lets you create rounded borders on block-level elements.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
42
Briefly describe margin properties, why you would use margins, and how you can specify them.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
43
If you use ____________ to specify width, the content boxes will adapt to the size of the browser or the containing element.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
44
Describe the measurement value types you can specify for margin, border, and padding properties. Why would you use each value type?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
45
What is the CSS box model?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
46
The ________________ property lets you control whether element boxes shrink the content area to make room for the padding and borders or whether they add these dimensions to the outside of the box.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
47
Describe the float, clear, and overflow properties. Show an example of each.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
48
The ____________________ area is between the element content and the border.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
49
You can overlap elements on a page by setting a(n) ___________ margin value.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
50
What is the CSS visual formatting model and what are the display type categories included in this model?
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 50 في هذه المجموعة.