Identify a style rule used to align the table data in the center of the cell.
a. | table_data {
text-align: center; } |
|
b. | td {
text-align: center; } |
|
c. | th {
<text-align/>: center; } |
|
d. | tdata {
text-align: <center/>; } |
While styling a table for a tablet viewport, the table can be centered on the page significantly by setting the left and right margins to a value of _____.
a. |
center |
|
b. |
1 |
|
c. |
auto |
|
d. |
0 |
Identify a code that creates a label and a text box for a visitor’s first name.
a. | <label_id_for="fName">First Name:</label_id_for>
<input type="text" name="fName" id="fName"> |
|
b. | <label/> for="fName">First Name:<id>
<input type="text" id="fName"> |
|
c. | <label for="fName">First Name:</label>
<input type="text" name="fName" id="fName"> |
|
d. |
<label/> for="fName">First Name <input type="text" name="fName" id="fName"> |
Question 1: a style rule used to align the table data in the center of the cell is td { text-align: center; } Answer: Option b Question 2: While styling a table for a tablet viewport, the table can be centered on the page significantly by setting the left and right margins to a value of center Answer: center Question 3: a code that creates a label and a text box for a visitor's first name. <label for="fName">First Name:</label> <input type="text" name="fName" id="fName"> Answer: Option C
Get Answers For Free
Most questions answered within 1 hours.