【发布时间】:2023-02-23 01:57:09
【问题描述】:
这是我用可视代码编写的第一个代码。当我切换到 DreamWeaver 设计视图时,页面是空白的。
你能告诉我代码缺少什么吗?
代码:
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<style type="text/css">
body,td,th {
font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 18px;
color: #020202;
}
bo
dy {
background-color: #D9DDD7;
}
</style>
<title>Connor Mayer's Student Portfolio</title>
<meta name="keywords" content="Connor Mayer Student Portfolio, student, wake tech, programmer, web developer, cyber security">
<meta name="description" content="My name is Connor Mayer, this page is for displaying contact information.">
<!-- ConnorMayer, CTI110-0006 -->
</head>
<h1>" Get In Touch"</h1>
<p> "Feel free to contact me anytime via email or phone with the contact information below."</p>
<ul>
<li>Phone:<br>
(919) - 867 - 5309</li>
</ul>
<body><p> </p>
</body><ul>
<li>Email:<br>
<p style="font-family: Gotham, 'Helvetica Neue', Helvetica, Arial, sans-serif; font-weight: bold; font-size: 18px;"><a href="mailto:Cmayer@my.waketech.edu"> Cmayer@my.waketech.edu</a></p></li>
</ul>
<!-- This file is my own work and I typed everything manually, Mayer-->
</html>
I have compared it to my landing page code which does show in the design view and cannot find any errors.
【问题讨论】:
-
那么,对于初学者来说,尝试通过 HTML 验证器运行您的代码。
标签: html syntax syntax-error dreamweaver