<script  runat="server">
Sub Page_Load(Sender As Object,E As EventArgs)
   image1.Src="smiley.gif"
   image1.Alt="Smiley"
   image1.Border="3"
End Sub
</script>


<!DOCTYPE html>
<html>
<body>

<form runat="server">
<img id="image1" runat="server" />
</form>

</body>
</html>