Page is a not externally linkable
- Code, Content, and Presentation
-- HTML
---- learning xhtml?


badams1 - 3:29 pm on Jan 20, 2005 (gmt 0)


i'll just take your word on it twist.

I have one question though. here is a quote of my page validation (or lack thereof):
Line 22, column 119: there is no attribute "name"

...nu-smallb.jpg" alt="Banner" name="banner" id="banner" /></a>

You have used the attribute named above in your document, but the document type you are using does not support that attribute for this element. This error is often caused by incorrect use of the "Strict" document type with a document that uses frames (e.g. you must use the "Transitional" document type to get the "target" attribute), or by using vendor proprietary extensions such as "marginheight" (this is usually fixed by using CSS to achieve the desired effect instead).

This error may also result if the element itself is not supported in the document type you are using, as an undefined element will have no supported attributes; in this case, see the element-undefined error message for further information.

How to fix: check the spelling and case of the element and attribute, (Remember 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.

So I cannot use the name attribute? How do I get around this?

edit: the heck with it, I'll just use xhtml 1.0 transitional, like tedster said to do.

thanks again.


Thread source:: http://www.webmasterworld.com/html/9488.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com