[英]Getting error Stray end tag head
I am not sure what am I doing wrong. 我不确定我在做什么错。 Is the image in the header or something else ?
图片在标题中还是其他? Tried inspecting and not able to come up with fix for the error.
尝试检查并且无法针对错误提出解决方案。 Help would be appreciated
帮助将不胜感激
<head>
<!-- Meta tags -->
<meta charset="utf-8" />
<meta name="description" content="Creating Web Applications" />
<meta name="keywords" content="party equipment" />
<meta name="author" content="Zaid Shakil" />
<!--CSS Style File Link -->
<link rel="stylesheet" href="styles/style.css" />
<!-- Title of the page -->
<title>Party Equipment</title>
<!-- Navigation bar -->
<nav>
<ul>
<li><a href="index.html" class="home">Home</a></li>
<li><a href="product.html" class="product">Product</a></li>
<li><a href="enquiry.html" class="enquiry">Enquiry</a></li>
<li><a href="about.html" class="about">About</a></li>
</ul>
</nav>
<img id="homepic" src="images/partyhome.png" alt="Party" />
</head>
Please go through with this, avoiding-common-html5-mistakes 请进行此操作, 避免出现常见的HTML5-错误
<head>
<!-- Meta tags -->
<meta charset="utf-8" />
<meta name="description" content="Creating Web Applications" />
<meta name="keywords" content="party equipment" />
<meta name="author" content="Zaid Shakil" />
<!--CSS Style File Link -->
<link rel="stylesheet" href="styles/style.css" />
<!-- Title of the page -->
<title>Party Equipment</title>
<!-- Navigation bar -->
</head>
<body>
<nav>
<ul>
<li><a href="index.html" class="home">Home</a></li>
<li><a href="product.html" class="product">Product</a></li>
<li><a href="enquiry.html" class="enquiry">Enquiry</a></li>
<li><a href="about.html" class="about">About</a></li>
</ul>
</nav>
<img id="homepic" src="images/partyhome.png" alt="Party" />
</body>
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.