开发者

text is not allowed between starting and closing tags of an element <table>

开发者 https://www.devze.com 2023-01-09 02:42 出处:网络
I have an error when playing with a table saying: \"text is not allowed between starting and closing tags of an element table\"

I have an error when playing with a table saying:

"text is not allowed between starting and closing tags of an element table" 

Table is like this....

<table id=开发者_运维问答"Content2" class="createAccountTable" cellpadding="0" cellspacing="0" style="width: 240px;">
    <tr> 
        <td colspan="2" align="left" valign="top" class="topicStyle">
           <h3>Order Summary</h3>
        </td> 
    </tr> 
    <tr align ="center">............

Thanks guys!!


If you are using Visual Studio, it will complain if your HTML violates the basic HTML 1.0 schema (or whatever you have defined in the DOCTYPE directive.) This doesn't necessarily mean that your HTML will not render, but you may not be technically XHTML compliant.

You can cut and paste your entire HTML into an XHTML validator to check for compliance.

0

精彩评论

暂无评论...
验证码 换一张
取 消