Solved

W3c validation, 3 problems I can't fix.

Posted on 2015-02-18
4
168 Views
Last Modified: 2015-02-25
Hi, I'm working on www.magickitchen.com/responsive. I have fixed all the errors on the validation page except these three, and I think they're all connected. Can you tell me where the unclosed element is?

 Error Line 452, Column 59: End tag form seen, but there were open elements.

            <input id="submit" value="Sign Up" type="submit">      </form></p></blockquote>


Error Line 445, Column 46: Unclosed element blockquote.

…uote style="background-color:#fbeead;"><h4 style="text-align:center;">Join Our…


Error Line 452, Column 59: Cannot recover after last error. Any further errors will be ignored.

            <input id="submit" value="Sign Up" type="submit">      </form></p></blockquote>
0
Comment
Question by:mel200
  • 2
  • 2
4 Comments
 
LVL 38

Expert Comment

by:Tom Beck
ID: 40616999
You will see lots of RED starting at line 452 of the rendered HTML using Firefox "View Source". The RED indicates improperly nested tags or tags that do not belong. You have this on line 452: </form></p></blockquote>

But the block quote is actually inside the form tags so it should be:  </p></blockquote> </form>
0
 

Author Comment

by:mel200
ID: 40617048
hmm.. when I did that, all of a sudden I had 101 errors instead of 3, so I put it back.
0
 
LVL 38

Accepted Solution

by:
Tom Beck earned 500 total points
ID: 40617087
There are multiple problems with the structure, i.e. improper nesting, orphaned tags, etc. Just correcting one problem will highlight the rest. Note that the validator has quit after finding the improper nesting of the form tag.
Cannot recover after last error. Any further errors will be ignored.
With that one problem fixed, the validator is pointing out the rest of the errors. It's not that you only had 3 errors. You HAVE closer to 101 errors. Fixing the few structural problems will likely cure 99% of them.

Never mind the validator for now. Use the "View Source" feature in Firefox to see the tags highlighted in red. They will clue you in on the structural problems. Fix all of those before going back to the validator.
0
 

Author Comment

by:mel200
ID: 40617122
ok, thanks.
0

Featured Post

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Get to know the ins and outs of building a web-based ERP system for your enterprise. Development timeline, technology, and costs outlined.
Today, the web development industry is booming, and many people consider it to be their vocation. The question you may be asking yourself is – how do I become a web developer?
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question