<!DOCTYPE html>
<html>
<body>

<%
随机化 ()
r=rnd()
if r>0.5 then
  response.write("<a href='https://w3schools.org.cn'>W3Schools.com!</a>")
else
  response.write("<a href='http://www.refsnesdata.no'>Refsnesdata.no!</a>")
end if
%>


<p>
这个例子演示了一个链接,每次加载页面时,它将显示
两个链接中的一个: W3Schools.com! OR Refsnesdata.no! 每个链接都有 50% 的机会显示。
它们中的每一个。
</p>

</body>
</html>