w3c validation 2 errors.. DOCTYPE related prob.
I have just finished my webpage, almost, and I thought I'd run it through the w3c validation service. I'm not a web dev so all of this is copy and paste, its got java, javascript and html of course. Luckily I only have two errors, simple ones and was hoping somebody could tell me exactly what I need to do to remedy these:
1: Mismatch between Public and System identifiers in the DOCTYPE declaration
This document uses an inconsistent DOCTYPE declaration. The Public Identifier -//W3C//DTD HTML 4.01 Transitional//EN declares the HTML 4.01 Transitional document type, but the associated System Identifier Transitional is http://www.w3.org/TR/html4/loose.dtd does not match this document type.
The recommended System Identifier for HTML 4.01 Transitional is http://www.w3.org/TR/html4/loose.dtd.
The safest way to use a correct DOCTYPE declaration is to copy and paste one from the recommended list and avoid editing that part of your markup by hand.
2: Line 4, Column 16: delimiter """ invalid: only delimiter ">", delimiter "[", "CDATA", "NDATA", "SDATA" and parameter separators are allowed.
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
This stuff looks simple, but I've tried the suggestions it gives and not really understood it. my webpage is below so you can try it, thanks!
http://www.projectmio.com
I like my page even if w3c don't
Thanks for both your replies, I did what you said and like you said I got a lot more errors - 10 errors and 39 warnings!
I wanted this page to be accessible by all, not too bothered about IE users as IE seems like it doesn't like a lot of things but FF and Safari yes. I created seperate 800x600 and 640 versions (800.html and 640.html), a lot less Java in those. The site is art inspired and only took 30sec to draw on paper but weeks trying to make in real life, like I say I don't make webpages and this is my first, I stumbled upon w3c and wanted to make the best of it. The criteria for this site was to be open source only and completely different, so the rule book goes out the window for navigation.
Any ideas :)