Thread: XHTML problems?
View Single Post

Old 06-20-2007, 08:22 PM   #1 (permalink)
Escaped-Emotions
Junior Member
 
Join Date: Jun 2007
Posts: 1
Rep Power: 0 Escaped-Emotions is on a distinguished road
XHTML problems?

I'm trying to validate my website to XHTML 1.0 Strict but I've gotten stuck with this error. Help?"Line 245, column 205: there is no attribute "target" ....site=1172082932" class="head" target="_blank">Vote for LTYYou 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."If XHTML doesn't allow 'target' what does it allow? ...what code would you use to link something to a new window?
__________________
Escaped-Emotions is offline   Reply With Quote