感谢您阅读此问题。关于标签下这些代码底部的有序列表,我遇到了一些问题。在我的预览中,它显示了我的contact.html网址。我在这里错过了什么吗?
以下是我的完整网站代码,我目前正在处理:
<!DOCTYPE html>
<html lan="en-US">
<head>
<title>Mobile Website Builder</title>
</head>
<body>
<header id="page_header">
<h1>Wiltshire Mobile Website Builder</h1>
<nav>
<ul>
<li><a href="index.html">Home</li>
<li><a href="services.html">Services</li>
<li><a href="about.html">About</li>
<li><a href="contact.html">Contact</li>
</ul>
</nav>
</header>
<img src="mobileconversion.JPG" />
<section>
<article>
<p><strong>Wiltshire mobile website</strong> is a mobile and multi-screen website builder for businesses. We also provide SEO services for your marketing needs.</p>
<p>
<h3>Why us?</h3>
<ol>
<li>Search engine friendly mobile & multi-screen website</li>
<li>Attractive design</li>
<li>Search engine optimization</li>
<li>Very competitive price</li>
</ol>
</p>
</article>
</section>
</body>
</html>
答案 0 :(得分:0)
您必须关闭这些<a>
代码。
<li><a href="index.html">Home</li>
应该是
<li><a href="index.html">Home</a></li>
其他<a>
代码也是如此。