<body>
    <form id="form1" runat="server">
 <table>
     <tr>
         <td style="text-align:right">UserName:</td>
         <td>
             <asp:TextBox runat="server" ID="UserName"></asp:TextBox>
             <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="UserName" ErrorMessage="Enter UserName" ForeColor="Red" SetFocusOnError="True"></asp:RequiredFieldValidator>
         </td>
        
     </tr> 
     <tr>
         <td style="text-align:right">Email:</td>
         <td><asp:TextBox  runat="server" ID="Email"></asp:TextBox>
             <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Email" ErrorMessage="Enter Email Address" ForeColor="Red"></asp:RequiredFieldValidator>
             <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="Email" ErrorMessage="Enter Correct Email Address" ForeColor="Red" SetFocusOnError="True" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"></asp:RegularExpressionValidator>
         </td>
       
     </tr>
     <tr>
         <td style="text-align:right">Gender</td>
         <td>
             <asp:RadioButtonList runat="server">
                 <asp:ListItem>Male</asp:ListItem>
                 <asp:ListItem>Female</asp:ListItem>
             </asp:RadioButtonList>
         </td>
     </tr>
 </table>
    </form>
</body>