Skip to content Skip to sidebar Skip to footer

Content Sliders: Valid Usage For Tables, Lists, Etc

Content sliders, like bxslider or Bootstrap's carousel, use divs to define slides. This is great for images and many other elements but it doesn't make much sense for things like

Solution 1:

Use the <section>-stuff:

<div><!--slider container-->
    <section><!--currently shown slide-->
        <p>Blah, blah, blah!</p>
    </section>
    <section><!--another slide-->
         <p>Blah, blah, blah!</p>
    </section>
    </div>

A <ul> is fine, as the information is a list. Do you slide lists? I can't image more you show a image with a few words. Then, just <p>.


Post a Comment for "Content Sliders: Valid Usage For Tables, Lists, Etc"