xhtml validation query

They have: 26 posts

Joined: Nov 2001

When validating my page at W3C validator after converting to XHTML 1.0 Transitional i am left with these 2 alerts that i do not understand how to amend in order to get the page to validate.
Any help appreciated, thanks...

Below are the results of attempting to parse this document with an SGML parser.

Line 61, column 56: there is no attribute "summary" (explain...).
...op" align="left" width="121" summary="navigation bar"> Top
^

They have: 16 posts

Joined: Nov 2002

hard to tell from your post. would probably have to look at the full source. any chance you have a url to look at? or post a little more code around the lines you are having problems with.

They have: 26 posts

Joined: Nov 2001

OK spotted first error, the tag was on a TD tag not a TABLE tag.

Here is more code for 2nd error -


Top

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

You cannot have an inline element surrounding an block level element. The tag is inline ONLY. It must be within the .

They have: 26 posts

Joined: Nov 2001

Doh!!!! cheers.....

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

Quote: Originally posted by evvo
Line 61, column 56: there is no attribute "summary" (explain...).
...op" align="left" width="121" summary="navigation bar">

As it says, summary="" is not an HTML element Laughing out loud

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

To be fair, Renegade, what you meant is that it's not an ATTRIBUTE. However, it is an attribute -- of the element TABLE.

It is not, as you rightly state, an element, however elements are written like this: .

SO.

Right: ...

Wrong: Summary of something.

Regardless, it was fixed right away (as noted by the original poster). Smiling

Quote: Originally posted by evvo
OK spotted first error, the tag was on a TD tag not a TABLE tag.

Renegade's picture

He has: 3,022 posts

Joined: Oct 2002

Meh, my bad :'(

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Wink Don't fret, just clarifying in case others are confused, or you were actually confused instead of it being a typo.

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.