设置表格的背景色为青色,表行背景颜色为桔色的的HTML代码是( )
A: <table bgcolor=cyan><tr bgcolor=orange>……</tr></table>
B: <table bkcolor=cyan><tr bkcolor =orange>……</tr></table>
C: <tr bkcolor =orange><table bkcolor=cyan>……</table></tr>
D: <tr bgcolor=orange><table bgcolor=cyan>……</table></tr>
A: <table bgcolor=cyan><tr bgcolor=orange>……</tr></table>
B: <table bkcolor=cyan><tr bkcolor =orange>……</tr></table>
C: <tr bkcolor =orange><table bkcolor=cyan>……</table></tr>
D: <tr bgcolor=orange><table bgcolor=cyan>……</table></tr>
A
举一反三
- 以下哪一条HTML语句用于设置表格的表框颜色( )。 A: <table bordercolor=”red”>…</table> B: <table bgcolor=”red”>…</table> C: <table background=”/image/pic.jpg”>…</table> D: <td bgcolor=”red”>…</table>
- 表示表头的背景色彩的HTML是()。 A: <tr color= B: > C: <tr bgcolor= D: > E: <th bgcolor= F: > G: <th color= H: >
- 设置表格的宽度为600的HTML代码是( )。 A: <table height="500" width="600"></table> B: <table vspace="600" hspace="500"></table> C: <table height="600" width="500"></table> D: <table vspacet="500" hspace="600"></table>
- <p>若要使表格的行高为16pt,以下方法中,正确的是( )。</p> A: <table border="1" line-height=”16pt">…</table> B: <table border="1" style="line-height:16">…</table> C: <table border="1" style="line-height:16pt">…</table> D: <table border="1" style="height:16pt">…</table>
- 在 HTML中, 表示页面背景色的是 A: <body bgcolor=> B: <body bkcolor=> C: <body agcolor=> D: <body color=>
内容
- 0
设置表格的边框宽度的HTML代码是 A: <table size= B: > C: <table border= D: > E: <tableborder= F: > G: <table bordersize= H: >
- 1
表示水平分割线线的HTML代码是 : A: <hr/> B: <br/> C: <tr/> D: <td/>
- 2
设置表格边框色彩的HTML代码是( )。 A: <table color= B: > C: <th bordercolor= D: > E: <table bordercolor= F: > G: <th color= H: >
- 3
表示水平分割线的HTML代码是 ( ) A: <hr /> B: <br /> C: <tr /> D: <hr> </hr>
- 4
在HTML中,表示页面背景的是 A: <body bgcolor=“color”> B: <body bkcolor=“color”> C: <body backgroundcolor=“color”> D: <body background=“color”>