<!DOCTYPE html> <html> <head> <title>My Website</title> </head> <body> <header> <h1>Welcome to my website!</h1> </header> <nav> <ul> <li><a href="#about">About</a></li> <li><a href="#services">Services</a></li> <li><a href="#contact">Contact</a></li> </ul> </nav> <main> <section id="about"> <h2>About Us</h2> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nunc vel mauris vel lorem lacinia sodales ut at sapien. Nam euismod nisl et facilisis maximus. Donec eget tortor sit amet lacus gravida pellentesque. </p> </section> <section id="services"> <h2>Our Services</h2> <ul> <li>Service 1</li> <li>Service 2</li> <li>Service 3</li> </ul> </section> <section id="contact"> <h2>Contact Us</h2> <form> <label for="name">Name:</label> <input type="text" id="name" name="name"> <label for="email">Email:</label> <input type="email" id="email" name="email"> <label for="message">Message:</label> <textarea id="message" name="message"></textarea> <button type="submit">Send Message</button> </form> </section> </main> <footer> <p>© 2023 My Website. All rights reserved.</p> </footer> </body> </html>
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter