HTML and CSS Reference
In-Depth Information
Listing 2-2. Adding feedback fields
<fieldset>
<legend>Feedback Form</legend>
<ol>
<li>
<asp:Label ID="lblURL" runat="server"
AssociatedControlID="URL">Default home page</asp:Label>
<asp:textbox runat="server" ID="URL" TextMode="Url"></asp:textbox>
</li>
<li>
<asp:Label ID="lblOptions" runat="server"
AssociatedControlID="Options">Default browser</asp:Label>
<asp:DropDownList ID="Options" runat="server">
<asp:ListItem Text="Internet Explorer" Value="1"></asp:ListItem>
<asp:ListItem Text="Google Chrome" Value="2" Selected></asp:ListItem>
<asp:ListItem Text="Firefox" Value="3"></asp:ListItem>
<asp:ListItem Text="Opera" Value="4"></asp:ListItem>
</asp:DropDownList>
</li>
<li>
<asp:Label ID="lblBirthday" runat="server"
AssociatedControlID="Birthday">Birthday</asp:Label>
<asp:TextBox runat="server" ID="Birthday" TextMode="Date"></asp:TextBox>
</li>
<li>
<asp:Label ID="lblMonth" runat="server"
AssociatedControlID="Month">Favorite Month</asp:Label>
<asp:TextBox runat="server" ID="Month" TextMode="Month"></asp:TextBox>
</li>
<li>
<asp:Label ID="lblWeek" runat="server"
AssociatedControlID="Week">Busiest Week</asp:Label>
<asp:TextBox runat="server" ID="Week" TextMode="Week"></asp:TextBox>
</li>
<li>
<asp:Label ID="lblStart" runat="server"
AssociatedControlID="DateTime">Start Date/Time</asp:Label>
<asp:TextBox runat="server" ID="DateTime"
TextMode="DateTime"></asp:TextBox>
</li>
<li>
<asp:Label ID="lblTime" runat="server"
AssociatedControlID="Time">Current Time</asp:Label>
<asp:TextBox runat="server" ID="Time" TextMode="Time" ></asp:TextBox>
</li>
<li>
<asp:Label ID="lblPhone" runat="server"
AssociatedControlID="Phone">Phone</asp:Label>
<asp:TextBox runat="server" ID="Phone" TextMode="Phone"></asp:TextBox>
</li>
<li>
Search WWH ::




Custom Search