Yes because it seems you have missed
</asp:calendar>
You have opend the asp tag but you didnt close it. check your code.
<div class="apply"><asp:calendar id="Calendar1" runat="server" backcolor="#FFFFCC" xmlns:asp="#unknown">
BorderColor="#FFCC66" BorderWidth="1px" DayNameFormat="Shortest"
Font-Names="Verdana" Font-Size="8pt" ForeColor="#663399" Height="200px"
ShowGridLines="True" Width="220px">
<dayheaderstyle backcolor="#FFCC66" font-bold="True" height="1px" />
<nextprevstyle font-size="9pt" forecolor="#FFFFCC" />
<othermonthdaystyle forecolor="#CC9966" />
<selecteddaystyle backcolor="#CCCCFF" font-bold="True" />
<selectorstyle backcolor="#FFCC66" />
<titlestyle backcolor="#990000" font-bold="True" font-size="9pt">
ForeColor="#FFFFCC" />
<todaydaystyle backcolor="#FFCC66" forecolor="White" />
</titlestyle></asp:calendar>
</div>