title: Converting <div> html to <table> html in asp.net
body: <p>I am making a website in ASP.NET using Visual Studio 2010 and I have a problem. Default programming is in <code>&lt;div&gt;</code> but I want to change into <code>&lt;table&gt;</code> form. Can you help me how can I change it?</p>
  
  <p>I have added the default programming:</p>
  
  <pre><code>&lt;form runat="server"&gt;
  &lt;div class="page"&gt;
  &lt;div class="header"&gt;
  &lt;div class="title"&gt;
  &lt;h1&gt;
      My ASP.NET Application
  &lt;/h1&gt;
  &lt;/div&gt;
  &lt;div class="loginDisplay"&gt;
  &lt;asp:LoginView ID="HeadLoginView" runat="server" EnableViewState="false"&gt;
  &lt;AnonymousTemplate&gt;
  [ &lt;a href="~/Account/Login.aspx" ID="HeadLoginStatus" runat="server"&gt;Log In&lt;/a&gt; ]
  &lt;/AnonymousTemplate&gt;
  &lt;LoggedInTemplate&gt;
  Welcome &lt;span class="bold"&gt;&lt;asp:LoginName ID="HeadLoginName" runat="server" /&gt;&lt;/span&gt;!
  [ &lt;asp:LoginStatus ID="HeadLoginStatus" runat="server" LogoutAction="Redirect" LogoutText="Log Out" LogoutPageUrl="~/"/&gt; ]
  &lt;/LoggedInTemplate&gt;
  &lt;/asp:LoginView&gt;
  &lt;/div&gt;
  &lt;div class="clear hideSkiplink"&gt;
  &lt;asp:Menu ID="NavigationMenu" runat="server" CssClass="menu" EnableViewState="false" IncludeStyleBlock="false" Orientation="Horizontal"&gt;
  &lt;Items&gt;
  &lt;asp:MenuItem NavigateUrl="~/Index.aspx" Text="Home"/&gt;
  &lt;asp:MenuItem NavigateUrl="~/About.aspx" Text="About"/&gt;
  &lt;/Items&gt;
  &lt;/asp:Menu&gt;
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="main"&gt;
  &lt;asp:ContentPlaceHolder ID="MainContent" runat="server"/&gt;
  &lt;/div&gt;
  &lt;div class="footer"&gt;
  Thank You for visiting.
  &lt;/div&gt;
  &lt;/div&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I hope you will help me. Thanks.</p>
  
  <p>PN: I was trying to do it but error occurred. So please help. Error says "text is not allowed between the opening and closing tags for element table".</p>