# Is there a way to show random content on an HTML page?

**URL:** <https://forum.kirupa.com/t/is-there-a-way-to-show-random-content-on-an-html-page/244594>\
**Category:** web dev\
**Created:** [November 20, 2007, 12:50am UTC](https://forum.kirupa.com/t/is-there-a-way-to-show-random-content-on-an-html-page/244594 "2007-11-20T00:50:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![asiabackpacker](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/asiabackpacker/32/3133_2.png) [@asiabackpacker](https://forum.kirupa.com/u/asiabackpacker)\
**Post date:** [November 20, 2007, 12:50am UTC](https://forum.kirupa.com/t/is-there-a-way-to-show-random-content-on-an-html-page/244594/1 "2007-11-20T00:50:18Z")

</div>

Hi,

Tell me if there is any way to do this on an HTML page.

I am using SSI’s to display content in a sidebar.

Let’s say the SSI files are called: bio1.html, bio2.html, bio3.html, etc…

Is there any way to randomly select which SSI gets displayed?

Thanks!
