简体   繁体   English

由tbody元素建立的行组的第2行上没有任何单元格

[英]Row 2 of a row group established by a tbody element has no cells beginning on it

hey guys i just finish make some code and when i validate those code i am keep get error like 嘿,我刚完成一些代码,当我验证这些代码时,我一直收到错误提示

Row 2 of a row group established by a tbody element has no cells beginning on it 由tbody元素建立的行组的第2行上没有任何单元格

And the code are below: 代码如下:

<!DOCTYPE html>
<html>
<head>
    <title>University of Hartford Asian Student Association</title>
    <link rel="stylesheet" href="style.css">
    <meta charset="UTF-8">
</head>

<body>
<table>

<tr>

<td class="t1">
<img src= "logo.jpg" alt="">
</td>

<td class="WA">
<header><h1><i>Asian Student Association (ASA) </i></h1></header>
</td>

</tr>

</table>
<nav class="navbar">
<a href = "index.html">Home</a>
<a href = "event.html">Events list</a> 
<a href = "photos.html">Photos</a>
<a href = "contact.html">Contact us</a>
</nav>

<div class="Cdiv">
<header><strong>The list of different activities</strong></header>

<table>
<tr>
<th>Activities</th>
 <th>Time</th>
<th>Address</th>
<th>Cost</th>
<tr>

<tr>
<td>Bubble Tea event</td>
<td>Tuesday October 14th.</td>
<td>GSU Sofa Area</td>
<td>$5 for each, and we have different taste!</td>
</tr>

<tr>
<td>Calligraphy Selling event</td>
<td>Tuesday October 7th.</td>
<td>GSU Sofa Area</td>
<td>$5 each name, written for people in asian calligraphy.</td>
</tr>

<tr>
<td>Chinese New Year Celebration event</td>
<td>Tuesday October 7th.</td>
<td>undecided</td>
<td>undecided.</td>
</tr>
</table>


 <table>
<caption>Drama Present</caption>
<tr><td>
<img src="oi2.jpg" width="400" height="250" alt="">
</td></tr>
</table>

<footer>
<p>
Designed by Han Yue &copy;2014<br>
If you have question, please email to <a href="mailto:yue@hartford.edu"         class="mail">yue@hartford.edu</a>
</p>
</footer>
</div>
</body>
</html>

Sorry about my code, i know is a little mess, but i really don't know how to fix this....someone please help 抱歉,我的代码有点混乱,但是我真的不知道如何解决此问题。

The error i get is : 我得到的错误是:

" Line 43, Column 4: Row 2 of a row group established by a tbody element has no cells beginning on it. " “第43行,第4列:由tbody元素建立的行组的第2行没有开始的单元格。”

PS: the line 43 is where the oi2 image PS:第43行是oi2图片的位置

You seem to have missed a closing tag: 您似乎错过了结束标签:

<tr>
    <th>Activities</th>
    <th>Time</th>
    <th>Address</th>
    <th>Cost</th>
</tr>

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 验证 html 代码,错误表第 2 列建立的元素 th 没有单元格开头 - Validating html code, error Table column 2 established by element th has no cells beginning in it HTML验证错误:表格行开头没有单元格 - HTML validation error: table row has no cells beginning in it 仅当tbody至少有一行时显示表标题 - Display table header only when tbody has atleast one row HTML验证错误-由元素th建立的范围为4…5的表格列中没有任何单元格 - HTML validation error-Table columns in range 4…5 established by element th have no cells beginning in them 表格HTML验证问题-元素th中没有任何单元格 - Table HTML validation issue - element th has no cells beginning in it 使用CSS将多个连续的行单元归为一组? - Group multiple consecutive row cells into one with CSS? 使用jQuery获取tbody中第一行的ID - Getting the id of the first row in tbody with jquery XPath 遍历:移出 tbody 到下一行 - XPath Traverse: Moving outside of tbody to the next row 如何在HTML表格中添加空白单元格,从而使行与包含数据的行具有相同数量的单元格? - How to add blank cells in an HTML table so row has the same amount of cells as a row with data? 表格行的宽度为2列,超过了第一行(1)建立的列数 - A table row was 2 columns wide and exceeded the column count established by the first row (1)
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM