Midterm 2nd Sem Flashcards

1
Q

It offers a powerful tool for presenting data on your website, but mastering them goes beyond just rows and columns.

A

HTML Tables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

An arrangement of data in rows and columns in tabular format. It useful for various tasks, such as presenting text information and numerical data. A tool for quickly and easily finding connections between different types of data. It is also used to create databases.

A

HTML Tables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Defines the structure for organizing data in rows and columns within a web page.

A

<table>
</table>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Represent a row within an HTML table, containing individual cells

A

<tr>
</tr>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Shows a table header cell that typically holds titles or headings

A

<th>
</th>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Represents a standard data cell, holding content or data

A

<td>
</td>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Provides a title or description for the entire table.

A

<caption>
</caption>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Defines the header section of a table, often containing column labels.

A

<thread>
</thread>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Represents the main content area of a table, separating it from the header or footer.

A

<tbody>
</tbody>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Specifies the footer section of a table, typically holding summaries or totals.

A

<tfoot>
</tfoot>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Defines attributes for table columns that can be applied to multiple columns at once.

A

<col></col>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Groups together a set of columns in a table to which you can apply formatting or properties collectively.

A

<colgroup>
</colgroup>

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Syntax for adding a Border to an HTML Table

A

Syntax:
table, th, td {
border: 1px solid black;
}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Syntax for adding Collapsed Borders in an HTML Table

A

Syntax:
table, th, td {
border: 1px solid black;
border-collapse: collapse;
}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Syntax for adding Border Spacing in an HTML Table

A

Syntax:
table {
border-spacing: 5px;
}

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Syntax for adding Cell Padding in an HTML Table

A

Syntax:
th, td {
padding: 20px;
}

17
Q

Syntax for adding Left Align Headings in an HTML Table

A

Syntax:
th {
text-align: left;
}

18
Q

Syntax for adding a Background Color to the Table

A

Syntax:
table#t01 {
width: 100%;
background-color: #f2f2d1;
}

19
Q

It is set using the CSS border
property. If you do not specify a border for the table, it will be displayed without borders.

A

Border

20
Q

For borders to collapse into one border, add the CSS border-collapse property.

A

Collapsed Border

21
Q

It specifies the space between the cells. To set the border-spacing for a table, we must use the CSS border-spacing property.

A

Border Spacing

22
Q

To make more than one column, we must use the colspan attribute.

A

Cell Span

23
Q

It specifies the space between the cell content and its borders. If we do not specify a padding, the table cells will be displayed without padding.

A

Cell Padding

24
Q

By default, the table headings are bold and centered. To left-align the table headings, we must use the CSS text-align property.

A

Left Align Heading

25
Q

A color can be added as a background in an HTML table using the “background-color” option.

A

Background Color