1、定义表格的项目表头的HTML标签是( )。
A、
<table>
B、
<tr>
C、
<td>
D、
<th>
答案:D
2、下列选项中,用于设置表格背景颜色的属性是( )。
A、
background
B、
bgcolor
C、
bordercolor
D、
backgroundcolor
答案:B
3、要使表格的行高为18px,以下方法中,正确的是( )
A、
<table height="18px">...</table>
B、
<th height="18px">...</th>
C、
<tr height="18px">...</tr>
D、
<td height="18px">...</td>
答案:C
4、下列选项中,用于设置表格标题的标签是( )
A、
<title>...</title>
B、
<h1>...</h1>
C、
<tags>...</tags>
D、
<caption>...</caption>
答案:D
5、下列设置单元格中文本对齐方式的选项中,正确的是( )
A、
<th align="center" valign="center">...</th>
B、
<th align="center" valign="middle">...</th>
C、
<th align="middle" valign="center">...</th>
D、
<th align="middle" valign="middle">...</th>
答案:B