Title: HTML Validation Error
Last modified: August 30, 2016

---

# HTML Validation Error

 *  [mohdqasim98](https://wordpress.org/support/users/mohdqasim98/)
 * (@mohdqasim98)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/html-validation-error-6/)
 * Hi ,
    I liked the plugin.But recently I found that HTML Validator([https://validator.w3.org](https://validator.w3.org))
   is throwing validation errors as given below : `Element style not allowed as 
   child of element body in this context.`
 * > style type=”text/css” media=”all” id=”siteorigin-panels-grids-wp_footer”>/*
   > Layout w565fd71f86267 */ #pg-w565fd71f86267-0 , #pl-w565fd71f86267 .panel-grid-
   > cell .so-panel { margin-bottom:30px } #pgc-w565fd71f86267-1-0 , #pgc-w565fd71f86267-
   > 1-1 , #pgc-w565fd71f86267-1-2 { width:33.333% } #pg-w565fd71f86267-1 .panel-
   > grid-cell { float:left } #pl-w565fd71f86267 .panel-grid-cell .so-panel:last-
   > child { margin-bottom:0px } #pg-w565fd71f86267-1 { margin-left:-15px;margin-
   > right:-15px } #pg-w565fd71f86267-1 .panel-grid-cell { padding-left:15px;padding-
   > right:15px } [@media](https://wordpress.org/support/users/media/) (max-width:
   > 780px){ #pg-w565fd71f86267-0 .panel-grid-cell , #pg-w565fd71f86267-1 .panel-
   > grid-cell { float:none;width:auto } #pgc-w565fd71f86267-1-0 , #pgc-w565fd71f86267-
   > 1-1 { margin-bottom:30px } #pl-w565fd71f86267 .panel-grid { margin-left:0;margin-
   > right:0 } #pl-w565fd71f86267 .panel-grid-cell { padding:0 } } /* Layout w5657f693ed4e4*/#
   > pg-w5657f693ed4e4-0 , #pl-w5657f693ed4e4 .panel-grid-cell .so-panel { margin-
   > bottom:30px } #pl-w5657f693ed4e4 .panel-grid-cell .so-panel:last-child { margin-
   > bottom:0px } [@media](https://wordpress.org/support/users/media/) (max-width:
   > 780px){ #pg-w5657f693ed4e4-0 .panel-grid-cell , #pg-w5657f693ed4e4-1 .panel-
   > grid-cell { float:none;width:auto } #pl-w5657f693ed4e4 .panel-grid { margin-
   > left:0;margin-right:0 } #pl-w5657f693ed4e4 .panel-grid-cell { padding:0 } }
   > </style>
 * Its there before the ‘</body>’ tag, and is coming automatically
 * [https://wordpress.org/plugins/siteorigin-panels/](https://wordpress.org/plugins/siteorigin-panels/)

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

 *  Plugin Author [Greg – SiteOrigin](https://wordpress.org/support/users/gpriday/)
 * (@gpriday)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/html-validation-error-6/#post-6809415)
 * It’s been a while since I checked this, but as far as I remember having a style
   tag before the closing body tag is valid in HTML5. It’s possible that the theme
   you’re using is based on an older HTML standard.
 * Would it be possible for you to check this?
 *  Thread Starter [mohdqasim98](https://wordpress.org/support/users/mohdqasim98/)
 * (@mohdqasim98)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/html-validation-error-6/#post-6809455)
 * Thanks Greg , for such a fast reply.
    But as far as I know i am using html5, 
   since my doc starts with `<!DOCTYPE html>`
 * Also I forgot to mention following error :
    **Element link is missing required
   attribute property.**
 * `<link rel='stylesheet' id='sow-social-media-buttons-wire-13024ebeef13-css' href
   ='{MY_SITE_URL}/siteorigin-widgets/sow-social-media-buttons-wire-13024ebeef13.
   css?ver=4.3.1' type='text/css' media='all' />`
 *  Plugin Author [Greg – SiteOrigin](https://wordpress.org/support/users/gpriday/)
 * (@gpriday)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/html-validation-error-6/#post-6809607)
 * Hi mohdqasim98
 * I’ll investigate this. The great thing with modern browsers is that they aren’t
   actually affected by these validation errors, and search engines don’t take them
   into account either.
 * That said, it would still be nice to get this fixed if it is in fact an issue,
   but as far as I’m aware having a style tag before the closing body tag is valid
   HTML5.

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

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

 * ![](https://ps.w.org/siteorigin-panels/assets/icon.svg?rev=2556869)
 * [Page Builder by SiteOrigin](https://wordpress.org/plugins/siteorigin-panels/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/siteorigin-panels/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/siteorigin-panels/)
 * [Active Topics](https://wordpress.org/support/plugin/siteorigin-panels/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/siteorigin-panels/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/siteorigin-panels/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Greg – SiteOrigin](https://wordpress.org/support/users/gpriday/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/html-validation-error-6/#post-6809607)
 * Status: not resolved