【发布时间】:2016-05-31 08:02:19
【问题描述】:
我知道这很简单,但我正在自学 HTML 和 CSS。在导航部分,通常会链接 Home、About、Contact 等选项卡,且大多包含 ul; li,一个 href 标记,具有下划线链接,并带您到正在链接的部分/选项卡。不知道我错过了什么或做错了什么。这是这里的html代码。
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Home Cleaning Services in the SF Bay Area</title>
<!-- Custom styles for this template -->
<link href="css/style.css" rel="stylesheet">
</head>
<body>
<header>
<img src="Images/SparklingCleanLogo.jpg" class=ImageLogo>
<!--This is the menu bar-->
<nav>
<ul>
<li a href="index.html">Home</a></li>
<li a href="About.html">About US</a></li>
<li a href="Services.html">Services</a></li>
<li a href="Rates.html">Rates</a></li>
<li a href="contact.html">Contact US</a></li>
</ul>
</nav>
</header>
<h2>We Talk Cleaning</h2>
<p>Sparkling Cleaning is a dedicated family business in the home cleaning business. We have experience in different types of cleaning needs for all home sizes and offices. We work hard to provide you with a spotless place for your place.</p>
<img src="Images/Clean-house.jpg">
</body>
<footer>All Rights Reserved 2016</footer>
</html>
【问题讨论】: