我还是一个新手,我对这个错误的含义有点困惑。
Line 30, Column 5: document type does not allow element "li" here; missing one of "ul", "ol" start-tag
我一直收到这个错误,直到第 44 行
这个省略是什么意思?
Line 54, Column 7: end tag for "div" omitted, but OMITTAG NO was specified
以下是我的代码:(感谢有人能指导我
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en" >
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<meta name="description" content= "about" />
<meta name="keywords" content="about" />
<title>About</title>
</head>
<body>
<div id="container">
<div id="inside">
<div id="inside2">
<h1>About</h1>
<ul>
<li>The Php version installed in mercury is <?php echo 'Current PHP version: ' . phpversion(); ?>.
</li>
<br />
<li>The task I am not attempted is Task 5.
</li>
<br />
<li>I am not exploring and implementing any special feature.</li>
<br />
<li>I have trouble mainly on Task 3 with validation.</li>
<br />
<li>Regarding with php, I want to gain more knowledge, I need to grasp deeper understanding on how everything works
as there are a lot of things to remember and how things are working. The other part is I need to dramatically improve
my time managment, although I start a week and half early, but I had trouble understanding the codes, and with other
assignments I need to finish.</li>
<br />
<li>Youtube channel by the name phpacademy and thenewboston help me out to get clearer understanding about certain stuff
in php, as well stackoverflow.com</li>
<li>I have learn more and new codes, better understanding on how overall the code works in PHP, but still a lot to learn.</li>
<br />
<img src="thread.jpg" width="450" height="350" alt="Discussion Thread" />
<br />
<a href="index.php">Return to Homepage</a>
<ul>
</body>
</html>