Get your own website Result Size: 625 x 565
x
 
<!DOCTYPE html>
<html>
<title>W3.JS</title>
<script src="https://www.w3schools.com/lib/w3.js"></script>
<body>
<h2>Testing W3.JS in HTML</h2>
<p>Images with class="nature" will be in the slideshow:</p>
<img class="nature" src="img_snowtops.jpg" width="100%">
<img class="nature" src="img_mountains.jpg" width="100%">
<img class="nature" src="img_nature.jpg" width="100%">
<script>
w3.slideshow(".nature", 1000);
</script>
</body>
</html>