SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Thread: w3c.org Validation
-
May 14, 2004, 08:05 #1
- Join Date
- Nov 2001
- Location
- Colorado
- Posts
- 2,085
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
w3c.org Validation
what doesn't it like about this?
I don't get the 5 complaints it has?
http://www.search-this.com/search_en.../template.aspx
http://validator.w3.org/check?uri=ht...aspx&verbose=0WordPress Plugins: Comment Info Tip
My Blogs: What a Savage | Search-This
Tools: Search Engine Decoder | PageRank Decoder
Podcast: Rand Fishkin | SitePoint Founders
-
May 14, 2004, 09:24 #2
- Join Date
- Jan 2004
- Location
- Chipping Campden, UK
- Posts
- 403
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Hi
It's because you defined it as HTML4.01 which doesn't allow the xhtml closing style you use in the meta tags ( />). That means it has closed the head prematurely, and that problem cascades onwards. I suggest you change the doctype to xhtml 1.0 transitional.
However, if you do that, you've got a bit of woork to do to convert all the other tags that don't conform.
Also, the meta tag with content="C#" would fail, as I don't think content is allowed in xhtml.
Trevor"Good artists copy, great artists steal."
- Pablo Picasso
The image of ClevaTreva is drawn by Rhys, and is a GOOD likeness
-
May 15, 2004, 17:11 #3
- Join Date
- Nov 2001
- Location
- Colorado
- Posts
- 2,085
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Ok, just need to fix this:
Line 90, column 32: there is no attribute "onClick"
it doesn't like the onClick attribute here, how do you fix that?
<a href="#" onClick="isHighlighted = changeHighlight(isHighlighted)">WordPress Plugins: Comment Info Tip
My Blogs: What a Savage | Search-This
Tools: Search Engine Decoder | PageRank Decoder
Podcast: Rand Fishkin | SitePoint Founders
-
May 15, 2004, 17:14 #4
Try onclick
If you turn on "Verbose Output" you do get some more details about the error it is reporting:
How to fix: check the spelling and case of the element and attribute, (Remeber XHTML is all lower-case) and/or check that they are both allowed in the chosen document type, and/or use CSS instead of this attribute.Harry Potter
-- You lived inside my world so softly
-- Protected only by the kindness of your nature
Bookmarks