简单教程
提交运行
代码编辑器:
<script runat="server"> Sub Page_Load(Sender As Object,E As EventArgs) image1.Src="/static/i/smiley.gif" image1.Alt="Smiley" image1.Border="3" End Sub </script> <!DOCTYPE html> <meta charset="utf-8"/> <form runat="server"> <img id="image1" runat="server" /> </form>
运行结果: