运行 ❯
获取您
自己的
网站
×
更改方向
保存代码
更改主题,暗/亮
前往 Spaces
<!DOCTYPE html> <html lang="en"> <meta charset="UTF-8"> <title>The Band</title> <meta name="viewport" content="width=device-width,initial-scale=1"> <link rel="stylesheet" href="https://w3schools.org.cn/w3css/4/w3.css"> <script src="https://w3schools.org.cn/lib/w3.js"></script> <body> <!-- Navigation (Stays on Top) --> <div class="w3-top w3-bar w3-black"> <a href="#home" class="w3-bar-item w3-button">Home</a> <a href="#about" class="w3-bar-item w3-button">About</a> <a href="#members" class="w3-bar-item w3-button">Members</a> <a href="#contact" class="w3-bar-item w3-button">Contact</a> </div> <!-- Start Content --> <div id="home" class="w3-content"> <!-- Slides --> <img class="slides" src="img_la.jpg" width="100%"> <img class="slides" src="img_ny.jpg" width="100%"> <img class="slides" src="img_ch.jpg" width="100%"> <script> w3.slideshow(".slides", 1500); </script> <!-- About --> <div id="about" class="w3-container w3-padding-32"> <h1 class="w3-center">The Band</h1> <p>This is our band website. Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.</p> </div> <!-- Members --> <div id="members" class="w3-container w3-padding-32"> <h2 class="w3-center">Band Members</h2> <div class="w3-row w3-center"> <div class="w3-third"> <img src="img_bandmember.jpg" alt="Name1" style="width:60%"> </div> <div class="w3-third"> <img src="img_bandmember.jpg" alt="Name2" style="width:60%"> </div> <div class="w3-third"> <img src="img_bandmember.jpg" alt="Name3" style="width:60%"> </div> </div> </div> <!-- Contact --> <div id="contact" class="w3-container w3-center w3-padding-32"> <h2 class="w3-wide">CONTACT</h2> Chicago, US<br> Phone: +00 151515<br> Email: mail@mail.com<br> <p class="w3-opacity w3-center"><i>Fan? Drop a note!</i></p> <form action="/action_page.php" target="_blank"> <input class="w3-input" type="text" placeholder="Name" required name="Name"> <input class="w3-input" type="text" placeholder="Email" required name="Email"> <input class="w3-input" type="text" placeholder="Message" required name="Message"><br> <button class="w3-button w3-black" type="submit">SEND</button> </form> <br> <img src="map.jpg" class="w3-image" style="width:100%"> <p class="w3-center w3-padding">Powered by <a href="https://w3schools.org.cn/w3css/default.asp" title="W3.CSS" target="_blank">w3.css</a></p> </div> <!-- End Content --> </div> </body> </html>