Forum Moderators: open

Message Too Old, No Replies

Validation questions

Need help understanding W3C validation results

         

Joellyn

8:02 pm on Jun 12, 2002 (gmt 0)

10+ Year Member



I tried to validate my home page today and got a few errors. Some I can figure out, but there is one that I just don't understand and another that I want to confirm. If anyone can give me some insight, I'd appreciate it!! BTW, my doctype is 4.01 Transitional

error 1. unknown entity "R" - it's burping on my meta keywords line where one of my entries is "CCR&R". It is the ampersand that is throwing things off, but why?

error 2. I used a bordercolor around a table and also an image for a table background, which it says "there is no attribute 'BORDERCOLOR' for this element" (BACKGROUND too). I'm assuming this is because I should be setting those things up in CSS, right?

Thanks :)

papabaer

8:23 pm on Jun 12, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi Joellyn,

The "burp" in your meta keywords IS from the ampersand. Change it to this CCR&R.

The ampersand (&) is used to designate special character entities. The validation error was given because of the parsed CCR&R where the &R was interpreted as an incomplete character entity.

Using CSS for everything is what the W3C is hoping Webmasters will aspire to. You can style your table any number of ways...

<style type="text/css" media="all">
table.mystyle {
background:url (images/myimage.jpg) no-repeat;
border:3px solid #c00;
}
</style>
</head>
................
<body>
<table class="mystyle">

[edited by: papabaer at 8:47 pm (utc) on June 12, 2002]

Joellyn

8:35 pm on Jun 12, 2002 (gmt 0)

10+ Year Member



Thanks papabaer, that did the trick!!