Random HTML
Posted by David, Last modified by Ashley L on 18 November 2019 12:44 PM

In Random HTML, you can add many lines of HTML code that will be randomly selected by the Random HTML script to display on a page of your web site. For example, you can place many different facts in a file, and the Random HTML script will display a random fact every time the web page is accessed. This can be useful for daily hints, trivia, or other random information you wish visitors of your site to see.

 Here are the following steps:

  1. To access the CGI Center, click on the icon above the words "CGI Center" on the main screen of your cPanel interface
  2. To enable the wrapper, click on the words "Random HTML"
  3. Place a different piece of HTML code on each line of the blank field that you need

For example: if you need two pieces of code, it would look similar to: <b> Koalas are marsupials and have pouches </b><b> The Cheetah is the fastest land mammal in the world </b> 4

Click on "Save" to save your HTML code5 Add <!--#exec cmd="cgi-bin/randhtml.cgi"--> to the web page in which you wish the random bits of HTML to appear. 

Troubleshooting: Make sure that the facts or other information you are adding are being added in proper HTML code or they will not display properly, or possibly not display at all. 

(348 vote(s))
Not helpful