我从第15行开始出错:“文档不允许元素tr在这里”。如果我摆脱它,我的图表就搞砸了。我错过了或在某处添加了太多tr吗?当然,我会继续寻找,如果我发现了什么,我会发布它。我几乎是肯定的,我看了我的起点和终点......
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Jake's Schedule</title>
</head>
<body>
<h1>Jacob Martin</h1>
<h3>This table shows my Fall Semester of classes</h3>
<table>
<tr>
<td><b>Hometown:</b> Pulaski, WI<br />I have lived there for 19 years</td>
<td><b><u>Education:</u></b> Soon to have Associates for CS<br />UW Fox Valley 2015 for Associates<br/>BA at UW Stout</td>
<tr>
<td rowspan="2"><h2>My Favorites</h2><br/>
<ol>
<li><h3>Musicians</h3></li>
<ul>
<li>Limp Bizkit</li>
<li>Kid Rock</li>
</ul>
<li><h3>Hobbies</h3></li>
<ul>
<li>Running</li>
<li>Video Games</li>
</ul>
<li><h3>Websites</h3></li>
<ul>
<li><a href=http://www.ign.com>IGN</a></li>
<li><a href=http://n4g.com>N4G</a></li>
<li><a href=http://www.wwe.com/wwenetwork>WWE Network</a></li>
</ul>
</ol>
</td>
<td><table border="2">
<tr>
<th> </th>
<th>Monday</th>
<th>Tuesday</th>
<th>Wednesday</th>
<th>Thursday</th>
<th>Friday</th>
</tr>
<tr>
<th>8:00-<br/>8:59</th>
<td>Ethics</td>
<td rowspan="2">Data Structors</td>
<td>Ethics</td>
<td rowspan="2">Data Structors</td>
<td>Ethics</td>
</tr>
<tr>
<th>9:00-<br/>9:59</th>
<td>study</td>
<td>study</td>
<td>study</td>
</tr>
<tr>
<th>10:00-<br/>10:59</th>
<td colspan="5">Calculas II</td>
</tr>
<tr>
<th>11:00-<br/>11:59</th>
<td colspan="5">study</td>
</tr>
<tr>
<th>12:00-<br/>12:59</th>
<td colspan="5">study</td>
</tr>
<tr>
<th>1:00-<br/>1:59</th>
<td colspan="5">study</td>
</tr>
<tr>
<th>2:00-<br/>2:59</th>
<td colspan="5">study</td>
</tr>
<tr>
<th>3:00-<br/>3:59</th>
<td>Linear Algebra</td>
<td>study</td>
<td>Linear Algebra</td>
<td>study</td>
<td>Linear Algebra</td>
</tr>
</tr>
</table></td>
</tr>
<td colspan="2"> <p>My goals goals for this Summer is to learn how to make webpages with HTML.<br/> I also want to learn more about Computer Programming in general.<br/> I have 4 classes and I want to be ready for my website job this fall.</p></td>
</table>
<img src="future.jpg" alt="The Future" style="width:400px;height:200px;"/>
<p>a² + b² = c²</p>
<p>½ > ¼ & 0° C < 33° F</p>
</body>
</html>
答案 0 :(得分:4)
前两个表行缺少close / tr标记。
Dreamweaver在第15行遇到一个新的tr标记,而前一个tr标记没有关闭。它也会在第40行再次发生。
答案 1 :(得分:3)
你遗漏了<tr>
的一个封闭括号。放在这里。
<td colspan="2">
<p>My goals goals for this Summer is to learn how to make webpages with HTML.<br/> I also want to learn more about Computer Programming
in general.<br/> I have 4 classes and I want to be ready for my website job this fall.</p></td>
</tr>
</table>