web网页设计html代码
时间: 2023-11-14 11:26:56 浏览: 40
Sure! Here's a simple example of HTML code for a basic web page:
```html
<!DOCTYPE html>
<html>
<head>
<title>My Web Page</title>
</head>
<body>
<header>
<h1>Welcome to My Web Page</h1>
</header>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Contact</a></li>
</ul>
</nav>
<section>
<h2>About Me</h2>
<p>This is a paragraph about me.</p>
</section>
<footer>
<p>© 2022 My Web Page. All rights reserved.</p>
</footer>
</body>
</html>
```
This code creates a basic web page with a header, navigation menu, content section, and footer. Feel free to modify it according to your requirements. Let me know if you need any further assistance!