用Visual Studio Code给我写一段网址开发代码
时间: 2024-04-06 17:19:51 浏览: 123
Visual Studio 中自定义代码片段的方法
<!DOCTYPE html>
<html>
<head>
<title>My Website</title>
</head>
<body>
<header>
<nav>
<ul>
<li><a href="#">Home</a></li>
<li><a href="#">About Us</a></li>
<li><a href="#">Services</a></li>
<li><a href="#">Contact Us</a></li>
</ul>
</nav>
</header>
<main>
<section>
<h1>Welcome to My Website</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut vitae augue sit amet libero ullamcorper tristique. Sed euismod sapien vel purus bibendum, eget porttitor nisi venenatis. Sed ac dignissim sapien. Ut luctus id mauris a consequat.</p>
</section>
<section>
<h2>About Us</h2>
<p>Nulla ut erat vitae felis venenatis pretium. Nunc id sapien vel ligula interdum pretium. Sed vehicula pulvinar lorem, sit amet fringilla lectus ultricies et. Phasellus at arcu vitae libero rhoncus sagittis. Etiam dapibus velit sit amet justo mollis, sit amet imperdiet lacus bibendum. Nulla ac enim eget diam luctus venenatis. Quisque commodo eros eu nisi volutpat, eget gravida purus finibus. Sed eget dui interdum, vestibulum nunc vel, consequat arcu.</p>
</section>
<section>
<h2>Services</h2>
<ul>
<li>Web Design</li>
<li>Graphic Design</li>
<li>SEO</li>
<li>Social Media Marketing</li>
</ul>
</section>
<section>
<h2>Contact Us</h2>
<form action="#" method="post">
<label for="name">Name:</label>
<input type="text" id="name" name="name"><br>
<label for="email">Email:</label>
<input type="email" id="email" name="email"><br>
<label for="message">Message:</label>
<textarea id="message" name="message"></textarea><br>
<input type="submit" value="Send">
</form>
</section>
</main>
<footer>
<p>© 2021 My Website. All rights reserved.</p>
</footer>
</body>
</html>
阅读全文