index.html 加作者信息
时间: 2024-01-18 18:04:17 浏览: 19
好的,以下是一个基本的 index.html 文件的作者信息示例:
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>My Website</title>
<meta name="author" content="Your Name">
<meta name="description" content="This is a website about...">
<meta name="keywords" content="keyword1, keyword2, keyword3">
</head>
<body>
<header>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
</header>
<main>
<h1>Welcome to my website!</h1>
<p>This website is all about...</p>
</main>
<footer>
<p>© 2021 My Website. All rights reserved.</p>
</footer>
</body>
</html>
```
在这里,`<meta>` 标签用于添加网站的作者信息、描述和关键字。您只需将 `"Your Name"` 改为您自己的名字或公司名即可。此外,您还可以在网站的页脚或其他适当位置添加版权信息。