end tag for %1 omitted, but its declaration does not permit this

Cause:

  • You forgot to close a tag, or
  • you used something inside this tag that was not allowed, and the validator is complaining that the tag should be closed before such content can be allowed.
  • The next message, "start tag was here" points to the particular instance of the tag in question); the positional indicator points to where the validator expected you to close the tag.

    Example:

    textexample textexample

    Bad:
    textexample
    textexample
    Good:
    textexample textexample

    Solution:

    textexample textexample

    References: