Title: HTML Validation errors
Last modified: July 5, 2024

---

# HTML Validation errors

 *  Resolved [danielwroberts](https://wordpress.org/support/users/danielwroberts/)
 * (@danielwroberts)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/html-validation-errors-15/)
 * Hi – first of all great plugin, really helped us out being able to add more than
   just standard text in table cells. We’re getting some HTML validation errors 
   and wondered if you knew how we could resolve? For example:
 * `**Error: The width attribute on the col element is obsolete. [Use CSS instead](https://wiki.whatwg.org/wiki/Presentational_elements_and_attributes).**`
   `
   <colgroup>**<col width="" style="min-width:;"/>**<col w`
 * **`Error: CSS: min-width: Parse Error.`**
   `width:;"/>**<col width="" style="min-
   width:;"/>**<col w`
 * From what I can tell this is coming form an empty `<colgroup>` which is the first
   direct child of the `<table>`
 * Any ideas on how to resolve?
 * Many thanks,
 * Dan

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Contributor [Istiak Rayhan](https://wordpress.org/support/users/istiakrayhan/)
 * (@istiakrayhan)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/html-validation-errors-15/#post-17872431)
 * Hi [@danielwroberts](https://wordpress.org/support/users/danielwroberts/) , 
   
   We couldn’t recreate the issue from our end. Can you please share a link where
   we can check your table?Regards
 *  Thread Starter [danielwroberts](https://wordpress.org/support/users/danielwroberts/)
 * (@danielwroberts)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/html-validation-errors-15/#post-17875156)
 * Hi – I can’t share a link as the project isn’t live yet but here is a copy and
   paste of the outputted HTML. If there’s an alternative way to do an export of
   the table settings then let me know and I’ll do that.
 *     ```wp-block-code
       <div class="wp-block-tableberg-wrapper wp-block-tableberg-table">    <table class="" style="border-spacing: 0 0; border-width: 1px; border-color: #000000; border-collapse: collapse; ">        <colgroup>            <col width="" style="min-width:;">            <col width="" style="min-width:;">            <col width="" style="min-width:;">            <col width="" style="min-width:;">            <col width="" style="min-width:;">            <col width="" style="min-width:;">        </colgroup>        <tbody>            <tr class=" tableberg-header">                <th data-tableberg-row="0" data-tableberg-col="0" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0">header</p>                </th>                <th data-tableberg-row="0" data-tableberg-col="1" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0">header</p>                </th>                <th data-tableberg-row="0" data-tableberg-col="2" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0">header</p>                </th>                <th data-tableberg-row="0" data-tableberg-col="3" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0">header</p>                </th>                <th data-tableberg-row="0" data-tableberg-col="4" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0">header</p>                </th>                <th data-tableberg-row="0" data-tableberg-col="5" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0">header</p>                </th>            </tr>            <tr>                <td data-tableberg-row="1" data-tableberg-col="0" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"><strong>Nunc nonummy metus</strong></p>                </td>                <td data-tableberg-row="1" data-tableberg-col="1" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"><strong>Nunc nonummy metus</strong></p>                </td>                <td data-tableberg-row="1" data-tableberg-col="2" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"><strong>Nunc nonummy metus</strong></p>                </td>                <td data-tableberg-row="1" data-tableberg-col="3" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"><strong>Nunc nonummy metus</strong></p>                </td>                <td data-tableberg-row="1" data-tableberg-col="4" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"><strong>Nunc nonummy metus</strong></p>                </td>                <td data-tableberg-row="1" data-tableberg-col="5" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"><strong>Nunc nonummy metus</strong></p>                </td>            </tr>            <tr>                <td data-tableberg-row="2" data-tableberg-col="0" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p>Donec pede justo, fringilla </p>                </td>                <td data-tableberg-row="2" data-tableberg-col="1" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"></p>                    <p>Donec pede justo, fringilla vel, aliquet nec, vulputate .</p>                </td>                <td data-tableberg-row="2" data-tableberg-col="2" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"></p>                    <p>Donec pede justo, fringilla </p>                </td>                <td data-tableberg-row="2" data-tableberg-col="3" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"></p>                    <p>Donec pede justo, fringilla m eget dui.</p>                </td>                <td data-tableberg-row="2" data-tableberg-col="4" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"></p>                    <p>Donec pede justo, fringilla </p>                </td>                <td data-tableberg-row="2" data-tableberg-col="5" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"></p>                    <p>Donec pede justo, fringilla </p>                </td>            </tr>            <tr>                <td data-tableberg-row="3" data-tableberg-col="0" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p>Donec pede justo, fringilla vel, aliquet nec, vulputate eget, arcu. </p>                </td>                <td data-tableberg-row="3" data-tableberg-col="1" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"></p>                </td>                <td data-tableberg-row="3" data-tableberg-col="2" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"></p>                </td>                <td data-tableberg-row="3" data-tableberg-col="3" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"></p>                </td>                <td data-tableberg-row="3" data-tableberg-col="4" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"></p>                </td>                <td data-tableberg-row="3" data-tableberg-col="5" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"></p>                </td>            </tr>            <tr>                <td data-tableberg-row="4" data-tableberg-col="0" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p>Donec pede justo, fringilla </p>                </td>                <td data-tableberg-row="4" data-tableberg-col="1" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0">ligula, eget egestas libero turpis vel mi.</p>                    <ul>                        <li>Aenean commodo ligula</li>                        <li>Aenean commodo ligula</li>                        <li>Aenean commodo ligula</li>                        <li>Aenean commodo ligula</li>                        <li>Aenean commodo ligula</li>                        <li>Aenean commodo ligula</li>                    </ul>                </td>                <td data-tableberg-row="4" data-tableberg-col="2" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"></p>                </td>                <td data-tableberg-row="4" data-tableberg-col="3" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"></p>                </td>                <td data-tableberg-row="4" data-tableberg-col="4" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"></p>                </td>                <td data-tableberg-row="4" data-tableberg-col="5" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"></p>                </td>            </tr>            <tr>                <td data-tableberg-row="5" data-tableberg-col="0" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p>Donec pede justo, fringilla </p>                </td>                <td data-tableberg-row="5" data-tableberg-col="1" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"></p>                </td>                <td data-tableberg-row="5" data-tableberg-col="2" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"></p>                </td>                <td data-tableberg-row="5" data-tableberg-col="3" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"></p>                </td>                <td data-tableberg-row="5" data-tableberg-col="4" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"></p>                </td>                <td data-tableberg-row="5" data-tableberg-col="5" style=""                    class="wp-block-tableberg-cell tableberg-v-align-center">                    <p style="margin-top:0;margin-bottom:0"></p>                </td>            </tr>        </tbody>    </table></div>
       ```
   
 *  Plugin Contributor [Zahin Azmayeen](https://wordpress.org/support/users/permafrost06/)
 * (@permafrost06)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/html-validation-errors-15/#post-17875241)
 * [@danielwroberts](https://wordpress.org/support/users/danielwroberts/) could 
   you please share with us how you validated the HTML?
 *  Thread Starter [danielwroberts](https://wordpress.org/support/users/danielwroberts/)
 * (@danielwroberts)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/html-validation-errors-15/#post-17875285)
 * Hi – using the W3 Markup Validation Service – [https://validator.w3.org/nu/#textarea](https://validator.w3.org/nu/#textarea)
 * I’ve pasted the table output into a basic HTML page and then pasted that into
   the direct input validation tab.
 *  Plugin Contributor [Zahin Azmayeen](https://wordpress.org/support/users/permafrost06/)
 * (@permafrost06)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/html-validation-errors-15/#post-17878807)
 * Hi [@danielwroberts](https://wordpress.org/support/users/danielwroberts/),
 * We’ve addressed the CSS parse error you encountered, and the fix will be included
   in the next version of tableberg.
 * Regarding the obsolete attribute warning, while the `width` attr in `<col>` elements
   are considered obsolete in the HTML specification, they are still widely supported
   by browsers. We currently do not plan to change this unless it causes an actual
   functionality issue.
 * If you encounter any other issues or have further questions, please let us know!
 *  Thread Starter [danielwroberts](https://wordpress.org/support/users/danielwroberts/)
 * (@danielwroberts)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/html-validation-errors-15/#post-17880316)
 * Ok thanks, do you know when the next version of tableberg will be released?
 *  Plugin Contributor [Zahin Azmayeen](https://wordpress.org/support/users/permafrost06/)
 * (@permafrost06)
 * [1 year, 11 months ago](https://wordpress.org/support/topic/html-validation-errors-15/#post-17888163)
 * A new version has been released.
 *  Thread Starter [danielwroberts](https://wordpress.org/support/users/danielwroberts/)
 * (@danielwroberts)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/html-validation-errors-15/#post-17889783)
 * That’s great, thanks for all the help.
 *  Plugin Contributor [Istiak Rayhan](https://wordpress.org/support/users/istiakrayhan/)
 * (@istiakrayhan)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/html-validation-errors-15/#post-17889807)
 * Hi [@danielwroberts](https://wordpress.org/support/users/danielwroberts/), 
   If
   you’re satisfied with the plugin and support, please take a moment to share your
   experience by leaving a review [here](https://wordpress.org/support/plugin/tableberg/reviews/#new-post).
   Thanks & RegardsIstiak

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘HTML Validation errors’ is closed to new replies.

 * ![](https://ps.w.org/tableberg/assets/icon-256x256.png?rev=3008289)
 * [Tableberg - Simple Gutenberg Table Block](https://wordpress.org/plugins/tableberg/)
 * [Support Threads](https://wordpress.org/support/plugin/tableberg/)
 * [Active Topics](https://wordpress.org/support/plugin/tableberg/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tableberg/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tableberg/reviews/)

## Tags

 * [html](https://wordpress.org/support/topic-tag/html/)
 * [html attributes](https://wordpress.org/support/topic-tag/html-attributes/)
 * [inline css](https://wordpress.org/support/topic-tag/inline-css/)
 * [table](https://wordpress.org/support/topic-tag/table/)

 * 9 replies
 * 3 participants
 * Last reply from: [Istiak Rayhan](https://wordpress.org/support/users/istiakrayhan/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/html-validation-errors-15/#post-17889807)
 * Status: resolved