title: Why is <table> not allowed inside <p>
body: <p>Why can't <code>&lt;p&gt;</code> be nested inside <code>&lt;table&gt;</code>? What is the correction I could make?
  Removing the <code>&lt;div&gt;</code> and <code>&lt;p&gt;</code> tags corrupt my design. As the website follows a client provided design.</p>
  
  <p>I have the following code and it works fine in VS2008, but I get warnings:</p>
  
  <pre><code>&lt;div class="right_articles"&gt;
      &lt;p&gt;
          &lt;table&gt;
              &lt;tr&gt;
                  &lt;td&gt;
                      &lt;img alt="Img not found" src="images/ribbon.gif" style="width: 155px; height: 125px;" /&gt;
                  &lt;/td&gt;
                  &lt;td&gt;
                      &lt;asp:Label ID="Label1" runat="server" Text="Label"&gt;&lt;/asp:Label&gt;&lt;br /&gt;
                      &lt;asp:Label ID="Label2" runat="server" Text="Label"&gt;&lt;/asp:Label&gt;&lt;br /&gt;
                      &lt;asp:Label ID="Label3" runat="server" Text="Label"&gt;&lt;/asp:Label&gt;
                  &lt;/td&gt;
              &lt;/tr&gt;
          &lt;/table&gt; 
      &lt;/p&gt;
      &lt;p&gt;&amp;nbsp;&lt;/p&gt;
      &lt;p&gt;
          &lt;table&gt;
              &lt;tr&gt;
                  &lt;td&gt;
                      &lt;img alt="Img not found" src="images/medal.gif" style="width: 155px; height: 125px;" /&gt;
                  &lt;/td&gt;
                  &lt;td&gt;          
                      &lt;asp:Label ID="Label4" runat="server" Text="Label"&gt;&lt;/asp:Label&gt;&lt;br /&gt;
                      &lt;asp:Label ID="Label5" runat="server" Text="Label"&gt;&lt;/asp:Label&gt;&lt;br /&gt;
                      &lt;asp:Label ID="Label6" runat="server" Text="Label"&gt;&lt;/asp:Label&gt;      
                  &lt;/td&gt;
              &lt;/tr&gt;
          &lt;/table&gt;
      &lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <blockquote>
    <p>Warning 1 This end tag has no matching start tag.
    E:\WebSite4\test.master 121 Warning 2 Validation (XHTML 1.0
    Transitional): Text is not allowed between the opening and closing
    tags for element html'. E:\WebSite4\test.master 5 Warning 3 Validation
    (XHTML 1.0 Transitional): Element 'form' is missing its closing tag.
    E:\WebSite4\test.master 21 Warning 4 The class or CssClass value is
    not defined. E:\WebSite4\test.master 33 Warning 5 File 'spacer.gif'
    was not found. E:\WebSite4\test.master 116 Warning 7 Validation (XHTML
    1.0 Transitional): Element 'img' is missing required attribute 'alt'. E:\WebSite4\test.master 116 Warning 8 Validation (XHTML 1.0
    Transitional): Element 'table' cannot be nested within element 'p'.
    E:\WebSite4\test.master 78 Warning 9 Validation (XHTML 1.0
    Transitional): Element 'table' cannot be nested within element 'p'.
    E:\WebSite4\test.master 93</p>
  </blockquote>