[英]HTML Errors in DreamWeaver?
I'm getting errors starting with line 15:"Document does not allow element tr here". 我从第15行开始出错:“文档不允许元素tr在这里”。 If I get rid of it, my chart is messed up.
如果我摆脱它,我的图表就搞砸了。 Did I miss or add too many tr somewhere?
我错过了或在某处添加了太多tr吗? Of course I'll keep looking and if I find something I will post it.
当然,我会继续寻找,如果我发现了什么,我会发布它。 I was almost positive I watched my starting and ending points..
我几乎是肯定的,我看了我的起点和终点......
<!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>
The first two table rows are missing the close /tr tag. 前两个表行缺少close / tr标记。
Dreamweaver is encountering a new tr tag on line 15 without the previous tr tag being close. Dreamweaver在第15行遇到一个新的tr标签,而前一个tr标签没有关闭。 It also happens again on line 40.
它也在第40行再次发生。
you have missed one closed bracket of <tr>
. 你错过了一个
<tr>
封闭括号。 put here. 放在这里。
<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>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.