HTML5制作自定义表格

HTML 表格
Table的边框问题–不显示四周边框、隐藏横线或纵线

这个表格有一个标题,以及粗边框:

我的标题
Heading
row 1, cell 1 row 1, cell 2 这个单元包含一个列表:
  • 苹果
  • 香蕉
  • 菠萝
row 2, cell 2

HTML5制作自定义表格_第1张图片
style="border:hidden;"

<html>
<body>
<h4>这个表格有一个标题,以及粗边框:h4>
<table border="2">
<caption>我的标题caption>
<tr>
<th colspan="3"><font size="3" color="red">Headingfont>th>
tr>
<tr>
<td rowspan="2">row 1, cell 1td>
<td align="right">row 1, cell 2td>
<td>这个单元包含一个列表:
   <ul>
    <li align="left"><font size="3" color="red">苹果font>li>
    <li align="right">香蕉li>
    <li><s>菠萝s>li>
   ul>
td>
tr>
<tr>
<td bgcolor="#eeeeff">row 2, cell 2td>
<td>td>
tr>
table>
body>
html>

你可能感兴趣的:(网页开发)