This is something you can use
<ul class="What ever class your using for slideshow">
<li><span><p>This is a paragraph.</p></span><div></div></li>
<li><span>
<div style="color:#0000FF">
<h3>This is a heading</h3>
</div>
</span><div></div>
</li>
</ul>
it worked for me