HTML
CSS
JavaScript
Vue
React
Python
PHP
Java
.Net
Java9手册
PHP手册
CSS3手册
jQuery手册
源代码
在线运行
<!DOCTYPE html> <html> <body> <script type="text/vbscript"> randomize() r=rnd() If r>0.5 Then document.write("<a href='http://www.w3cschool.cc'>Learn Web Development!</a>") Else document.write("<a href='http://www.refsnesdata.no'>Visit Refsnes Data!</a>") End If </script> <p> This example demonstrates a link, when you click on the link it will take you to W3Cschool.cc OR to RefsnesData.no. There is a 50% chance for each of them. </p> </body> </html>
动行结果