Title: Iframe do not validate
Last modified: August 19, 2016

---

# Iframe do not validate

 *  [erngren](https://wordpress.org/support/users/erngren/)
 * (@erngren)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/iframe-do-not-validate/)
 * Hello
    Hope someone who is good on the code can help me get my page to validation.
   I get 1 irritable wrong with an iframe Line 329, Column 128: document type does
   not allow element “iframe” here
 * … 0 “frameborder =” 0 “marginwidth =” 0 “marginheight =” 0 “scrolling =” no “
   > </ iframe> ‘);
 * The element named above was found in a context where it is not allowed. This 
   could mean that you have incorrectly nested elements – such as a “style” element
   in the “body” section instead of inside “head” – or two elements that overlap(
   which is not allowed).
 * One common cause for this error is the use of XHTML syntax in HTML documents.
   Due to HTML’s rules of implicitly closed elements, this error can create cascading
   effects. For instance, using XHTML’s “self-closing” tags for “meta” and “link”
   in the “head” section of a HTML document may cause the parser to infers the end
   of the “head” section and the beginning of the “body “section (where” link “and”
   meta “are not allowed, hence the reported error).

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

 *  [Rev. Voodoo](https://wordpress.org/support/users/rvoodoo/)
 * (@rvoodoo)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/iframe-do-not-validate/#post-1426616)
 * link to your page…or to the validators output would help us see the error in 
   context
 *  Thread Starter [erngren](https://wordpress.org/support/users/erngren/)
 * (@erngren)
 * [16 years, 2 months ago](https://wordpress.org/support/topic/iframe-do-not-validate/#post-1426618)
 * Oh im so stupid, sorry
    [http://blogg.erngren.com](http://blogg.erngren.com)
 *  1. Error Line 329, Column 128: document type does not allow element “iframe”
   here
 *  …0″ frameborder=”0″ marginwidth=”0″ marginheight=”0″ scrolling=”no”></iframe
   >’);
 *  ✉
 *  The element named above was found in a context where it is not allowed. This
   could mean that you have incorrectly nested elements — such as a “style” element
   in the “body” section instead of inside “head” — or two elements that overlap(
   which is not allowed).
 *  One common cause for this error is the use of XHTML syntax in HTML documents.
   Due to HTML’s rules of implicitly closed elements, this error can create cascading
   effects. For instance, using XHTML’s “self-closing” tags for “meta” and “link”
   in the “head” section of a HTML document may cause the parser to infer the end
   of the “head” section and the beginning of the “body” section (where “link” and“
   meta” are not allowed; hence the reported error).

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

The topic ‘Iframe do not validate’ is closed to new replies.

## Tags

 * [iframe](https://wordpress.org/support/topic-tag/iframe/)
 * [validation](https://wordpress.org/support/topic-tag/validation/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [erngren](https://wordpress.org/support/users/erngren/)
 * Last activity: [16 years, 2 months ago](https://wordpress.org/support/topic/iframe-do-not-validate/#post-1426618)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
