简单教程
提交运行
代码编辑器:
<script runat="server"> Sub Page_Load link1.HRef="https://www.twle.cn" link1.Target="_blank" link1.Title="twle.cn" link2.HRef="https://www.microsoft.com" link2.Target="_blank" link2.Title="Microsoft" End Sub </script> <!DOCTYPE html> <meta charset="utf-8"/> <form runat="server"> <a id="link1" runat="server">Visit twle.cn!</a> <br> <a id="link2" runat="server">Visit Microsoft!</a> </form>
运行结果: