To redirect to multiple URLs using HTML, you can use JavaScript and the `window.location` property. Here's an example: ```html

Redirecting...

``` In this example, the JavaScript code runs when the page loads (`window.onload`). It defines an array of URLs (`urls`) to redirect to. Then, it selects a random URL from the array using `Math.random()` and `Math.floor()` functions. Finally, it updates the `window.location.href` property to initiate the redirect to the randomly selected URL. You can modify the URLs in the `urls` array with your desired destinations. The code will randomly redirect the user to one of the URLs each time the page is loaded.

Comments

Popular posts from this blog