html里,我的源代码如下,可为什么5.出现了大黑点?

提问者:tianx 提问时间:2014年03月27日 人气:12
用户提问
<html>
<head><title>表格实验</title></head>
<body>
<center>
<ol>
<li >表格基本样式</li>
<table width="600" bordercolor="brown" border="1" cellspacing="0" cellpadding="5">
<tr>
<td>1.1</td>
<td>1.2</td>
<td>1.3</td>
</tr>
<tr>
<td>2.1</td>
<td>2.2</td>
<td>2.3</td>
</tr>
<tr>
<td>3.1</td>
<td>3.2</td>
<td>3.3</td>
</tr>
</table>
<br />
<li>表格默认就是双线</li>
<table width="600" bordercolor="cyan" border="1" cellpadding="5">
<tr>
<td>1.1</td>
<td>1.2</td>
<td>1.3</td>
</tr>
<tr>
<td>2.1</td>
<td>2.2</td>
<td>2.3</td>
</tr>
<tr>
<td>3.1</td>
<td>3.2</td>
<td>3.3</td>
</tr>
</table>
<br />
<li>合并列</li>
<table width="600" border="1" bordercolor="orange" cellpadding="5" cellspacing="0">
<tr>
<td colspan="3" align="center" height="50" valign="bottom">1.1</td>
</tr>
<tr>
<td >2.1</td>
<td >2.2</td>
<td >2.3</td>
</tr>
<tr>
<td>3.1</td>
<td>3.2</td>
<td>3.3</td>
</tr>
</table>
<br />
<li>合并行</li>
<table width="600" border="1" bordercolor="black" cellspacing="0">
<tr>
<td>1.1</td>
<td rowspan="3" align="middle" valign="top">1.2</td>
<td>1.3</td>
</tr>
<tr >
<td>2.1</td>
<td>2.3</td>
</tr>
<tr>
<td>3.1</td>
<td>3.3</td>
</tr>
<table>
<br />
<li>综合1</li>
<table width="600" border="1" cellspacing="0" bordercolor="red">
<tr>
<td>1.1</td>
<td colspan="2">1.2</td>
</tr>
<tr>
<td>2.1</td>
<td rowspan="2">2.2</td>
<td>2.3</td>
</tr>
<tr>
<td>3.1</td>
<td>3.3</td>
</tr>
</table>
<br />
<li>综合2</li>
</ol>
</center>

</body>
</html>
推荐答案
看了下楼主的代码,综合1前面的<table>应该为闭合标签</table>
辅助答案
用户:飞秋啊jie
2014年04月25日
<td>3.1</td>
<td>3.3</td>
</tr>
<table>
--
<table>要成对出现,此处应为</table>
修改如下:
<html>
<head>
<title>表格实验</title>
</head>
<body>
<center>
<ol>

<li >表格基本样式</li>
<table width="600" bordercolor="brown" border="1" cellspacing="0" cellpadding="5">
<tr>
<td>1.1</td>
<td>1.2</td>
<td>1.3</td>
</tr>
<tr>
<td>2.1</td>
<td>2.2</td>
<td>2.3</td>
</tr>
<tr>
<td>3.1</td>
<td>3.2</td>
<td>3.3</td>
</tr>
</table>
<br />
<li>表格默认就是双线</li>
<table width="600" bordercolor="cyan" border="1" cellpadding="5">
<tr>
<td>1.1</td>
<td>1.2</td>
<td>1.3</td>
</tr>
<tr>
<td>2.1</td>
<td>2.2</td>
<td>2.3</td>
</tr>
<tr>
<td>3.1</td>
<td>3.2</td>
<td>3.3</td>
</tr>
</table>
<br />
<li>合并列</li>
<table width="600" border="1" bordercolor="orange" cellpadding="5" cellspacing="0">
<tr>
<td colspan="3" align="center" height="50" valign="bottom">1.1</td>
</tr>
<tr>
<td >2.1</td>
<td >2.2</td>
<td >2.3</td>
</tr>
<tr>
<td>3.1</td>
<td>3.2</td>
<td>3.3</td>
</tr>
</table>
<br />
<li>合并行</li>
<table width="600" border="1" bordercolor="black" cellspacing="0">
<tr>
<td>1.1</td>
<td rowspan="3" align="middle" valign="top">1.2</td>
<td>1.3</td>
</tr>
<tr >
<td>2.1</td>
<td>2.3</td>
</tr>
<tr>
<td>3.1</td>
<td>3.3</td>
</tr>
</table>
<br />
<li>综合1</li>
<table width="600" border="1" cellspacing="0" bordercolor="red">
<tr>
<td>1.1</td>
<td colspan="2">1.2</td>
</tr>
<tr>
<td>2.1</td>
<td rowspan="2">2.2</td>
<td>2.3</td>
</tr>
<tr>
<td>3.1</td>
<td>3.3</td>
</tr>
</table>
<br />
<li>综合2</li>
</ol>
</center>
</body>
</html>
用户:wxwj7573
2014年04月24日

http://www.w3school.com.cn/cssref/pr_list-style-type.asp


li 标签有一个默认的 CSS 样式 list-style-type,它的默认样式就是“实心圆”。不愿意显示的话就设置给 li 显式声明一下 list-style-type 属性,设置他的值为 none。具体代码如下:

<li style="list-style-type:none;">综合2</li>