ASP Net Controls ASP.Net Tutorial

<%@ Page Language="C#" %>
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">


    
        div
        {
            padding:10px;
        }
        .labelStyle
        {
            color:red;
            background-color:yellow;
            border:Solid 2px Red;
        }
    
    Format Label


    
    

            id="lblFirst"
        Text="First Label"
        ForeColor="Red"
        BackColor="Yellow"
        BorderStyle="Solid"
        BorderWidth="2"
        BorderColor="red"
        Runat="server" />
    
            id="lblSecond"
        Text="Second Label"
        CssClass="labelStyle"
        Runat="server" />