<html>
<title>ASP.NET HTML Server Control Syntax Example</title>
<link rel="stylesheet" href="/shared/netdemos.css">
<script language="C#" runat="server">
void Page_Load ( Object sender, EventArgs e ) {
myCtrl.InnerHtml = "Today is " + DateTime.Now.ToString ( "f" );
}
</script>
<body>
<!-- #include virtual="~/shared/top.inc" -->
<div class="header"><h2>ASP.NET Primer: <span class="hilite">HTML Server Control Syntax Example</span></h2></div>
<!-- #include virtual="~/shared/viewsrc_top.inc" -->
<hr size=1 width=92%>
<center>
<p id="msg"><span id="myCtrl" style="font-style:italic" runat="server" /></p>
</center>
<hr size=1 width=92%>
<!-- #include virtual="~/shared/viewsrc.inc" -->
</body>
</html>