Search code examples
htmlslideshowmarkup

HTML5 markup for a slideshow


I have a slideshow on my home page. The slideshow have no content, only background images.

The question: Should I mark it up as a section or anything else? Maybe skip the HTML5 markup?

<header></header>

<div id=slideshow></div>

<main></main>

<aside></aside>

<footer></footer>

Solution

  • I guess a DIV would be fine. You could use section if you have a header for the slider and maybe a paragraph also. It's a list of images, right? So make an UL with the images inside, and remove the bullets with CSS.