Invalid HTML in form
-
I’m trying to fix errors that show up in the W3C validator, because I suspect they are the cause of the LinkedIn sharer failing to parse the site and reading its OpenGraph tags.
One of them shows up for the style tag within .mailpoet_form:
Error: Elementstyle
not allowed as child of elementdiv
in this context.
<style type="text/css">.mailp
I’m also getting an error, because I’m using the same shortcode twice on the page:
Error: Duplicate IDmailpoet_form_1
.
I realize I should probably duplicate the form, but maybe there could be an option to disable the ID attribute altogether?
- The topic ‘Invalid HTML in form’ is closed to new replies.