Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 49c1f52292
Fetching contributors…

Cannot retrieve contributors at this time

30 lines (16 sloc) 0.719 kb
<h3><font face="Verdana">Declaring Server Controls</font></h3>
This sample demonstrates how to declare the &lt;asp:label&gt; server control and
manipulate its properties within a page.
<form runat=server>
<asp:label id="Message1" font-size="16" font-bold="true" forecolor="red" runat=server>This is Message One</asp:label>
<asp:label id="Message2" font-size="20" font-italic="true" forecolor="blue" runat=server>This is Message Two</asp:label>
<asp:label id="Message3" font-size="24" font-underline="true" forecolor="green" runat=server>This is Message Three</asp:label>
Jump to Line
Something went wrong with that request. Please try again.