Deck 6: Page Layout

ملء الشاشة (f)
exit full mode
سؤال
_________ flow displays the elements on the page in the order they appear in the web page source code.

A) default
B) source code
C) browser
D) normal
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
The _______ is the area between the content and the border.

A) border
B) spacing
C) padding
D) none of the above
سؤال
Select the example below that could be used to clear a right float.

A) clear: right;
B) clear: left;
C) right: clear;
D) overflow: right;
سؤال
From the choices below select the correct order to code CSS pseudo-classes.

A) link, hover, visited, active
B) hover, link, active, visited
C) link, visited, hover, active
D) link, hover, active, visited
سؤال
The default value for the border property for an element is:

A) 1 pixel
B) 0 pixels
C) 3 pixels
D) 10 pixels
سؤال
If an element is configured with ___________ the other content on the page will appear to its left.

A) position:left;
B) position:relative;
C) float:left;
D) float:right;
سؤال
When configuring the background color of an element, the background color is applied to both the content and ______ areas.

A) border
B) padding
C) margin
D) extra
سؤال
Use the ________ property along with the left, right and/or top property to precisely configure the position of an element.

A) position:absolute;
B) position:relative;
C) position:float;
D) absolute:position;
سؤال
The CSS to create the class called myfloat that floats to the right of the other page content, has a 10px margin, and a solid border is:

A) .myfloat { float:right; margin:10px; border: 1px solid #000000; }
B) #myfloat { right:float: margin 10px; border: 1px solid #000000; }
C) .myfloat { float:right; 10px:margin; border: 1px solid #000000; }
D) .myfloat { float:right; margin:10px; border: on; }
سؤال
Use the ________ or _______ property to clear a float.

A) float or clear
B) clear or overflow
C) position or clear
D) overflow or float
سؤال
The box model consists of a content area surrounded by:

A) a border
B) padding, border, and margin
C) border and margin
D) spacing, border, and margin
سؤال
Select the example below that configures a container to clear all floated elements that are within the container.

A) clear: both;
B) overflow: all;
C) overflow: auto;
D) clear: all;
سؤال
Which of the following configures a margin for an element with the following values: top margin 30 pixels, left margin 150 pixels, right margin 0 pixels, and bottom margin 0 pixels?

A) margin: 150px 20px 0 300px;
B) margin:top-30, left-150, right-0, bottom-0;
C) margin:30px 0 0 150px;
D) none of the above
سؤال
Use ___________ positioning to slightly change the location of an element in relation to where it would otherwise appear when rendered by a browser.

A) absolute
B) float
C) relative
D) display
سؤال
Use the _______________ property to configure an image to use as a bullet point in an unordered list.

A) bullet-image
B) image-style
C) list-style-image
D) bullet-style-image
سؤال
When using the box model, the _____ is always transparent.

A) border
B) content
C) spacing
D) margin
سؤال
Choose the example below of a descendent selector that configures the anchor tags with the nav element.

A) nav a
B).navigation a
C) #nav a
D) a nav
سؤال
To apply a style to one or more elements on a web page, configure a CSS _____________.

A) group
B) id
C) class
D) None of the above
سؤال
Use an id to configure a style when:

A) the style could apply to more than one element on a page.
B) the style will apply to only one element on a page.
C) the style is used for all elements on a page.
D) None of the above
سؤال
Choose the example below that configures a comment in CSS.

A) < ! comment ! >
B) // comment //
C) /* comment */
D) < < comment > >
سؤال
The _______ pseudo-class configures the styles that will apply when the mouse is on a hyperlink.

A) hover
B) click
C) active
D) over
سؤال
Choose the example below of a descendant selector that configures the anchor tags within the element assigned to an id named special.

A) #special a
B) .special a
C) a#special
D) special#a
سؤال
Use ___________ positioning to configure the location of an element to remain the same and to not move even when the web page is scrolled within the browser viewport.

A) absolute
B) static
C) relative
D) fixed
سؤال
Choose the HTML5 element below that is used to configure an area on a web page that can stand on its own and could potentially be syndicated.

A) div
B) section
C) article
D) aside
سؤال
The _____ pseudo-class configures the appearance of the hyperlink before it is clicked.

A) hover
B) link
C) hyperlink
D) active
سؤال
The ________ HTML5 element is used to contain tangential or supplemental content.

A) header
B) main
C) aside
D) section
سؤال
Choose the item below that is not an HTML5 element.

A) footer
B) figcaption
C) wrapper
D) article
سؤال
Set list-style-type to the value ___________ to hide the display of the list markers on an ordered list.

A) none
B) hide
C) invisible
D) nodisplay
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/28
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 6: Page Layout
1
_________ flow displays the elements on the page in the order they appear in the web page source code.

A) default
B) source code
C) browser
D) normal
D
2
The _______ is the area between the content and the border.

A) border
B) spacing
C) padding
D) none of the above
C
3
Select the example below that could be used to clear a right float.

A) clear: right;
B) clear: left;
C) right: clear;
D) overflow: right;
A
4
From the choices below select the correct order to code CSS pseudo-classes.

A) link, hover, visited, active
B) hover, link, active, visited
C) link, visited, hover, active
D) link, hover, active, visited
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
5
The default value for the border property for an element is:

A) 1 pixel
B) 0 pixels
C) 3 pixels
D) 10 pixels
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
6
If an element is configured with ___________ the other content on the page will appear to its left.

A) position:left;
B) position:relative;
C) float:left;
D) float:right;
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
7
When configuring the background color of an element, the background color is applied to both the content and ______ areas.

A) border
B) padding
C) margin
D) extra
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
8
Use the ________ property along with the left, right and/or top property to precisely configure the position of an element.

A) position:absolute;
B) position:relative;
C) position:float;
D) absolute:position;
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
9
The CSS to create the class called myfloat that floats to the right of the other page content, has a 10px margin, and a solid border is:

A) .myfloat { float:right; margin:10px; border: 1px solid #000000; }
B) #myfloat { right:float: margin 10px; border: 1px solid #000000; }
C) .myfloat { float:right; 10px:margin; border: 1px solid #000000; }
D) .myfloat { float:right; margin:10px; border: on; }
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
10
Use the ________ or _______ property to clear a float.

A) float or clear
B) clear or overflow
C) position or clear
D) overflow or float
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
11
The box model consists of a content area surrounded by:

A) a border
B) padding, border, and margin
C) border and margin
D) spacing, border, and margin
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
12
Select the example below that configures a container to clear all floated elements that are within the container.

A) clear: both;
B) overflow: all;
C) overflow: auto;
D) clear: all;
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
13
Which of the following configures a margin for an element with the following values: top margin 30 pixels, left margin 150 pixels, right margin 0 pixels, and bottom margin 0 pixels?

A) margin: 150px 20px 0 300px;
B) margin:top-30, left-150, right-0, bottom-0;
C) margin:30px 0 0 150px;
D) none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
14
Use ___________ positioning to slightly change the location of an element in relation to where it would otherwise appear when rendered by a browser.

A) absolute
B) float
C) relative
D) display
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
15
Use the _______________ property to configure an image to use as a bullet point in an unordered list.

A) bullet-image
B) image-style
C) list-style-image
D) bullet-style-image
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
16
When using the box model, the _____ is always transparent.

A) border
B) content
C) spacing
D) margin
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
17
Choose the example below of a descendent selector that configures the anchor tags with the nav element.

A) nav a
B).navigation a
C) #nav a
D) a nav
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
18
To apply a style to one or more elements on a web page, configure a CSS _____________.

A) group
B) id
C) class
D) None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
19
Use an id to configure a style when:

A) the style could apply to more than one element on a page.
B) the style will apply to only one element on a page.
C) the style is used for all elements on a page.
D) None of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
20
Choose the example below that configures a comment in CSS.

A) < ! comment ! >
B) // comment //
C) /* comment */
D) < < comment > >
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
21
The _______ pseudo-class configures the styles that will apply when the mouse is on a hyperlink.

A) hover
B) click
C) active
D) over
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
22
Choose the example below of a descendant selector that configures the anchor tags within the element assigned to an id named special.

A) #special a
B) .special a
C) a#special
D) special#a
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
23
Use ___________ positioning to configure the location of an element to remain the same and to not move even when the web page is scrolled within the browser viewport.

A) absolute
B) static
C) relative
D) fixed
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
24
Choose the HTML5 element below that is used to configure an area on a web page that can stand on its own and could potentially be syndicated.

A) div
B) section
C) article
D) aside
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
25
The _____ pseudo-class configures the appearance of the hyperlink before it is clicked.

A) hover
B) link
C) hyperlink
D) active
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
26
The ________ HTML5 element is used to contain tangential or supplemental content.

A) header
B) main
C) aside
D) section
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
27
Choose the item below that is not an HTML5 element.

A) footer
B) figcaption
C) wrapper
D) article
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
28
Set list-style-type to the value ___________ to hide the display of the list markers on an ordered list.

A) none
B) hide
C) invisible
D) nodisplay
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 28 في هذه المجموعة.