How to create slideshows with html and css only

I want to create a slide show to display any images in a limited space. And I do not want to use javascript. How to create slideshows with html and css only?

+4
source share
3 answers

Check out this example slideshow using HTML and CSS.

In order not to use javascript, you can simply replace the mouse pointer on each set (tabs at the top) with HTML links ...

<A HREF="section2.html" TARGET="content" TITLE="Slideshow slide 2">Section 2</A> 

However, it is actually easier to use javascript, and almost all browsers will not have problems with javascript. Is there a special reason not to use it?

+2
source

You can make nice HTML / CSS pages to show what you need and do a redirect between them with a META HTTP update tag:

 <meta http-equiv="refresh" content="2;url=http://..."> 

Thus, visitors would not need to click links to navigate between pages, but they would be automatically taken away after a certain time ...

+1
source

May be:

 <a href="3.html"><img src="2.jpeg" alt="..."></a> 

etc.

0
source

Source: https://habr.com/ru/post/1313075/


All Articles