html表格缺少边框

html表格缺少边框,html,Html,我有下面的代码 <html> <head> <body bgcolor="#BDBDBD"> <div align="center"> <font color="Blue"> <CAPTION><b><u><i>SYSTEM STATUS</i></u></b></caption> </font> </br> &l

我有下面的代码

 <html>
 <head>
<body bgcolor="#BDBDBD">
<div align="center">
<font color="Blue">
<CAPTION><b><u><i>SYSTEM STATUS</i></u></b></caption>
</font>
</br>
</br>

<table BORDER="2" BORDERCOLOR="Black" CELLPADDING="3">

 <colgroup>
 <col span="2" style="background-color:FFA04A">
<col style="background-color:FFA04A">
</colgroup>

<thead>
<tr>
<font color="Blue">
        <th><font color="Blue">System</font></th>
        <th><font color="Blue">Is Alive</font></th>
        </font>
</tr>
</thead>
</font>
</body>
</head>
</html>

系统状态


系统 还活着
我得到的输出是黑色边框的atable,但是分隔列的边框丢失了。代码有什么问题吗


我认为您是初学者,请查看此代码

 <html>
    <head></head>
    <body bgcolor="#BDBDBD">
    <div align="center">
    <font color="Blue"> <b><u><i>SYSTEM STATUS</i></u></b> </font> </br>
    </br>
    <table BORDER="2" BORDERCOLOR="Black" CELLPADDING="3">
    <colgroup>
    <col span="2" style="background-color:FFA04A">
    <col style="background-color:FFA04A">
    </colgroup>
    <thead>
      <tr> <font color="Blue">
        <th><font color="Blue">System</font></th>
        <th><font color="Blue">Is Alive</font></th>
        </font> </tr>
    </thead>
    </font>
    </body>
    </html>

系统状态

系统 还活着
演示:

请参见:“标记为元素中的每个列指定列属性。”
您必须定义3个元素:在

之间插入一个(空的)
,更正HTML,然后在这里工作正常。也许您应该查看一下这些天HTML是如何完成的。这在现代网络上是非常过时的。使用CSS。这个代码看起来像是90年的。如果你正在学习HTML和CSS,那么就把你的源代码改成现代的。