<html>
<body>

<script type="text/javascript">
var r=Math.random()
if (r>0.5) 
{
document.write("<a href='http://www.w3school.com.cn'>学习 Web 开发!</a>")
}
else
{
document.write("<a href='http://www.microsoft.com'>访问微软!</a>")
}
</script>

</body>
</html>

 

相关文章:

  • 2021-08-01
  • 2021-10-18
  • 2021-06-29
  • 2021-05-25
  • 2021-06-08
  • 2021-12-26
  • 2021-12-23
猜你喜欢
  • 2022-12-23
  • 2022-02-25
  • 2021-07-07
  • 2021-06-01
  • 2021-10-24
  • 2022-12-23
  • 2021-11-30
相关资源
相似解决方案