Skip to main content

Autoplay carousel WITH HTML LANGUAGE

 

Autoplay carousel

HTML 


<div id="carousel"> <div id="slide-container"> <div class="slide" data-slideIndex="0"> <div class="slide-banner">Tour the Empire State Building! <a href="">Buy tickets now.</a></div> <img width="1200" height="600" src="./newyork.jpg"> </div> <div class="slide" data-slideIndex="1"> <div class="slide-banner">Ride the Shinkansen! <a href="">Buy tickets now.</a></div> <img width="1200" height="600" src="./tokyo.jpg"> </div> <div class="slide" data-slideIndex="2"> <div class="slide-banner">Discover relaxation! <a href="">Buy tickets now.</a></div> <img width="1200" height="600" src="./beach.jpg"> </div> <div class="slide" data-slideIndex="3"> <div class="slide-banner">See penguins! <a href="">Buy tickets now.</a></div> <img width="1200" height="600" src="./penguins.jpg"> </div> <div class="slide" data-slideIndex="4"> <div class="slide-banner">Take a ride on the wheel! <a href="">Buy tickets now.</a></div> <img width="1200" height="600" src="./wheel.jpg"> </div> </div> <div id="back-button" class="arrow back"></div> <div id="forward-button" class="arrow forward"></div> <div class="slide-indicators"> <div class="slide-indicator active"></div> <div class="slide-indicator"></div> <div class="slide-indicator"></div> <div class="slide-indicator"></div> <div class="slide-indicator"></div> </div> </div>

Comments

Popular posts from this blog

HOW TO CREATE COPY BUTTON WITH HTML, CSS AND JS LANGUAGE

                                                                                                                                                      STRUCTURE WITH  <HTML> <! DOCTYPE html > < html lang = " en " > < head > < meta charset = " utf-8 " /> < meta name = " viewport " content = " width=device-width, initial-scale=1 " /> < link rel = " icon " href = " data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🎉</text></svg> " /> < title > How to copy images </ title > </ head > < body > < h1 > How to copy images </ h1 > < img src = " assets/fugu.svg " alt = " Fugu fish. " width = " 128 " height = " 128 " > < button type = &quo

How to periodically synchronize data in the background

       How to periodically synchronize data in the background                                                                                                                                                                                                                    HTML <! DOCTYPE html > < html lang = " en " > < head > < meta charset = " utf-8 " /> < meta name = " viewport " content = " width=device-width, initial-scale=1 " /> < link rel = " icon " href = " " /> < link rel = " manifest " href = " ./manifest.json " /> < title > How to periodically synchronize data in the background </ title > < link rel = " stylesheet " href = " /style.css " /> < script src = " /script.js " defer > </ script > </ head > < body >