Deck 9: Table Basics

ملء الشاشة (f)
exit full mode
سؤال
Choose the recommended use of tables on web pages.

A) Use tables to format the layout of an entire page
B) Use tables to organize tabular information
C) Use tables to format hyperlinks
D) Use tables instead of unordered lists
استخدم زر المسافة أو
up arrow
down arrow
لقلب البطاقة.
سؤال
Use the ______ attribute on a td element to associate it with a table heading cell.

A) th
B) headers
C) heading
D) title
سؤال
Choose the best answer below to the following question: Is the following CSS code valid?
Table { border: 2px #000000 solid;
Border-spacing: 0; }

A) Yes.
B) No, there is no border-spacing property.
C) No, there is no border property.
D) No, 0 is not a valid value for the border-spacing property.
سؤال
Use the headers attribute on the ___ element to correspond to the id attribute on a ___ element.

A) tbody, table
B) td, th
C) td, tr
D) td, table
سؤال
Use the ____ element to configure a table heading cell.

A) td
B) th
C) head
D) tr
سؤال
The purpose of the _______ element is to describe the contents of a table.

A) summary
B) caption
C) title
D) border
سؤال
Use the ________ element to configure a table footer row group.

A) thead
B) tgroup
C) tbody
D) tfoot
سؤال
To eliminate the space between table cells, use the ___________ property.

A) border: none;
B) border-style: 0;
C) border-spacing: 0;
D) cellspacing: 0;
سؤال
A table with a width set to 600 pixels will look _______ on a monitor with resolution set to 640 x 480 than on a monitor with resolution set to 1024 x 768

A) larger
B) smaller
C) the same
D) more distorted
سؤال
An HTML table is comprised of ____ and ______.

A) lines and text
B) headers and body
C) rows and columns
D) none of the above
سؤال
Use the _____ element to contain a table row.

A) td
B) tr
C) table
D) row
سؤال
Use the ______ element to contain a table data cell.

A) th
B) td
C) tr
D) table
سؤال
Use the ______ attribute to configure the browser to render default table and table cell borders.

A) tableborder
B) width
C) border
D) border-spacing
سؤال
Which of the following CSS3 pseudo-elements will be useful when configuring every other row of a table?

A) :last-of-type
B) :nth-of-type(n)
C): every-other-type
D) This cannot be done with CSS.
سؤال
Which of the following CSS3 pseudo-elements could be used to apply styles to the last row of a table?

A) :last-of-type
B) :last-row
C): tfoot
D) This cannot be done with CSS.
سؤال
Is the following HTML code valid?
< table >
< tr >
< td >cell 1< /td >
< td >cell 2< /tr >
< /tr >
< /table >

A) Yes.
B) No, you cannot code two td elements within the same row
C) No, you cannot code a table with only one row
D) No, there is a missing closing td tag
سؤال
Use the ______ element to contain an HTML table.

A) th
B) td
C) tr
D) table
سؤال
Use the ________ element to configure a table head row group.

A) thead
B) tgroup
C) tbody
D) tfoot
سؤال
Use the CSS ______ property to configure the cellpadding of a table.

A) padding
B) margin
C) cellpadding
D) border-spacing
سؤال
Use the th element to indicate a table column or row _____.

A) data
B) heading
C) summary
D) caption
سؤال
_____ The CSS border-spacing property can be used to configure the horizontal and vertical spacing of table borders.
سؤال
Which of the following CSS3 properties position the caption of a table?

A) caption
B) caption-side
C) thead
D) summary
سؤال
_____ The CSS vertical-align property can be used to configure the vertical alignment of the contents of a table cell.
سؤال
Which of the following CSS3 properties configure the alignment of text within a table?

A) align
B) caption
C) text-align
D) border-spacing
True or False.
فتح الحزمة
قم بالتسجيل لفتح البطاقات في هذه المجموعة!
Unlock Deck
Unlock Deck
1/24
auto play flashcards
العب
simple tutorial
ملء الشاشة (f)
exit full mode
Deck 9: Table Basics
1
Choose the recommended use of tables on web pages.

A) Use tables to format the layout of an entire page
B) Use tables to organize tabular information
C) Use tables to format hyperlinks
D) Use tables instead of unordered lists
B
2
Use the ______ attribute on a td element to associate it with a table heading cell.

A) th
B) headers
C) heading
D) title
B
3
Choose the best answer below to the following question: Is the following CSS code valid?
Table { border: 2px #000000 solid;
Border-spacing: 0; }

A) Yes.
B) No, there is no border-spacing property.
C) No, there is no border property.
D) No, 0 is not a valid value for the border-spacing property.
A
4
Use the headers attribute on the ___ element to correspond to the id attribute on a ___ element.

A) tbody, table
B) td, th
C) td, tr
D) td, table
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
5
Use the ____ element to configure a table heading cell.

A) td
B) th
C) head
D) tr
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
6
The purpose of the _______ element is to describe the contents of a table.

A) summary
B) caption
C) title
D) border
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
7
Use the ________ element to configure a table footer row group.

A) thead
B) tgroup
C) tbody
D) tfoot
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
8
To eliminate the space between table cells, use the ___________ property.

A) border: none;
B) border-style: 0;
C) border-spacing: 0;
D) cellspacing: 0;
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
9
A table with a width set to 600 pixels will look _______ on a monitor with resolution set to 640 x 480 than on a monitor with resolution set to 1024 x 768

A) larger
B) smaller
C) the same
D) more distorted
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
10
An HTML table is comprised of ____ and ______.

A) lines and text
B) headers and body
C) rows and columns
D) none of the above
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
11
Use the _____ element to contain a table row.

A) td
B) tr
C) table
D) row
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
12
Use the ______ element to contain a table data cell.

A) th
B) td
C) tr
D) table
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
13
Use the ______ attribute to configure the browser to render default table and table cell borders.

A) tableborder
B) width
C) border
D) border-spacing
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
14
Which of the following CSS3 pseudo-elements will be useful when configuring every other row of a table?

A) :last-of-type
B) :nth-of-type(n)
C): every-other-type
D) This cannot be done with CSS.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
15
Which of the following CSS3 pseudo-elements could be used to apply styles to the last row of a table?

A) :last-of-type
B) :last-row
C): tfoot
D) This cannot be done with CSS.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
16
Is the following HTML code valid?
< table >
< tr >
< td >cell 1< /td >
< td >cell 2< /tr >
< /tr >
< /table >

A) Yes.
B) No, you cannot code two td elements within the same row
C) No, you cannot code a table with only one row
D) No, there is a missing closing td tag
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
17
Use the ______ element to contain an HTML table.

A) th
B) td
C) tr
D) table
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
18
Use the ________ element to configure a table head row group.

A) thead
B) tgroup
C) tbody
D) tfoot
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
19
Use the CSS ______ property to configure the cellpadding of a table.

A) padding
B) margin
C) cellpadding
D) border-spacing
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
20
Use the th element to indicate a table column or row _____.

A) data
B) heading
C) summary
D) caption
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
21
_____ The CSS border-spacing property can be used to configure the horizontal and vertical spacing of table borders.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
22
Which of the following CSS3 properties position the caption of a table?

A) caption
B) caption-side
C) thead
D) summary
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
23
_____ The CSS vertical-align property can be used to configure the vertical alignment of the contents of a table cell.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
24
Which of the following CSS3 properties configure the alignment of text within a table?

A) align
B) caption
C) text-align
D) border-spacing
True or False.
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.
فتح الحزمة
k this deck
locked card icon
فتح الحزمة
افتح القفل للوصول البطاقات البالغ عددها 24 في هذه المجموعة.