Title: Shortcode Module creating error in html validator
Last modified: April 4, 2020

---

# Shortcode Module creating error in html validator

 *  Resolved [guptawp](https://wordpress.org/support/users/guptawp/)
 * (@guptawp)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-module-creating-error-in-html-validator/)
 * I design my website homepage using nimble builder. I used nimble builder templete
   for Homepage. My Website URL is [SARALBOOK homepage](https://saralbook.com/).
   when i tested my website on [HTML Validator](https://validator.w3.org/) it is
   showing No <p> element in scope but a </p> end tag seen. Total 12 times i used
   shortcode module in 12 different column. 6 visible in desktop and 6 visible in
   mobile & and tablet. Same shortcode i used on different [pages](https://saralbook.com/new-jobs/)
   useing Gutenberg blocks shortcode and those pages are html error free of this
   type.
    Please fix the shortcode module of Nimble Builder. Thank You
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fshortcode-module-creating-error-in-html-validator%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [presscustomizr](https://wordpress.org/support/users/nikeo/)
 * (@nikeo)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-module-creating-error-in-html-validator/#post-12627778)
 * Thanks for reporting this validation issue 🙏
    I’m on it. I might need to connect
   to your website to have a complete understanding of the problem. If you agree,
   please drop us a line on [this contact form](https://presscustomizr.com/contact/).
 *  Thread Starter [guptawp](https://wordpress.org/support/users/guptawp/)
 * (@guptawp)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-module-creating-error-in-html-validator/#post-12627884)
 * yes sure
 *  Thread Starter [guptawp](https://wordpress.org/support/users/guptawp/)
 * (@guptawp)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-module-creating-error-in-html-validator/#post-12629917)
 * Today i write the shortcode using text instead of visual given in nimble builder.
   i simply write the shortcode like this <div>[shortcode]</div> now the html validator
   is not showing such type of error. I hope in upcoming nimble builder update we
   will be able to use visual editor for shortcode without error. Thanks for quick
   response.
 *  Plugin Author [presscustomizr](https://wordpress.org/support/users/nikeo/)
 * (@nikeo)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/shortcode-module-creating-error-in-html-validator/#post-12663654)
 * Hello,
    I’m trying to reproduce the error without success. I’m using the shortcode
   module with a simple shortcode :
 *     ```
       add_shortcode( 'test_sc', 'test_sc_callback' );
       function test_sc_callback() {
         return '<div><p>SHORTCODE TEST CONTENT</p></div>';
       }
       ```
   
 * In the markup, there’s no additional p tag.
 * Can you describe the detailed steps to reproduce your problem ?
    Screenshots 
   are welcome if possible. ( You can use an online screenshot sharing tool like
   [https://prnt.sc/](https://prnt.sc/) to include a link to screenshot. ) Thank
   you.
 *  Plugin Author [presscustomizr](https://wordpress.org/support/users/nikeo/)
 * (@nikeo)
 * [6 years ago](https://wordpress.org/support/topic/shortcode-module-creating-error-in-html-validator/#post-12764484)
 * [@guptawp](https://wordpress.org/support/users/guptawp/) did you see my previous
   message ? I’d need your input to solve this issue.
    Thank you 🙏
 *  Thread Starter [guptawp](https://wordpress.org/support/users/guptawp/)
 * (@guptawp)
 * [6 years ago](https://wordpress.org/support/topic/shortcode-module-creating-error-in-html-validator/#post-12767871)
 * Without div element screenshot [https://prnt.sc/s9kmkp](https://prnt.sc/s9kmkp)
 * Without div element validator.w3.org error “No p element in scope but a p end
   tag seen” screenshot [https://prnt.sc/s9kn5y](https://prnt.sc/s9kn5y)
 * With div element screenshot [https://prnt.sc/s9koad](https://prnt.sc/s9koad)
 * With div element validator.w3.org No error of such type screenshot [https://prnt.sc/s9kox5](https://prnt.sc/s9kox5)
 * I use div element for all my shortcodes so now i am facing no error.
 * Thanks for awesome plugin.

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

The topic ‘Shortcode Module creating error in html validator’ is closed to new replies.

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

## Tags

 * [html error](https://wordpress.org/support/topic-tag/html-error/)
 * [module](https://wordpress.org/support/topic-tag/module/)

 * 6 replies
 * 2 participants
 * Last reply from: [guptawp](https://wordpress.org/support/users/guptawp/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/shortcode-module-creating-error-in-html-validator/#post-12767871)
 * Status: resolved