Една , последна грешка в валидирането ..

Post Reply
aquafresh
Много Редовен
Много Редовен
Posts: 1891
Joined: Sun Aug 03, 2008 11:02 am
Contact:

Една , последна грешка в валидирането ..

Post by aquafresh » Thu Jul 23, 2009 4:43 pm

Кажете как се оправя тази тъпа грешка..
с 4.01 съм
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
Line 4, Column 13: Attribute "XMLNS" is not a valid attribute. Did you mean "onmouseup" or "onmouseover"?
<html xmlns="http://www.w3.org/1999/xhtml">

&#9993;

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. If you received this error when using the <embed> element to incorporate flash media in a Web page, see the FAQ item on valid flash.


ПС: изобщо има ли смисъл от това? не може ли само с <html> ?
Last edited by aquafresh on Thu Jul 23, 2009 4:45 pm, edited 1 time in total.

User avatar
Soul_Stealler
Web-tourist
Web-tourist
Posts: 3559
Joined: Tue Dec 20, 2005 3:52 pm
Answers: 112
Location: София
Contact:

Post by Soul_Stealler » Thu Jul 23, 2009 4:45 pm

махни
<html xmlns="http://www.w3.org/1999/xhtml">

aquafresh
Много Редовен
Много Редовен
Posts: 1891
Joined: Sun Aug 03, 2008 11:02 am
Contact:

Post by aquafresh » Thu Jul 23, 2009 4:46 pm

Да остава само <html> ?
ио ио ио

User avatar
Soul_Stealler
Web-tourist
Web-tourist
Posts: 3559
Joined: Tue Dec 20, 2005 3:52 pm
Answers: 112
Location: София
Contact:

Post by Soul_Stealler » Thu Jul 23, 2009 4:59 pm

да

Dido_net
Много Редовен
Много Редовен
Posts: 1569
Joined: Sat Oct 01, 2005 12:43 pm
Answers: 16
Location: Хасково

Post by Dido_net » Fri Jul 24, 2009 10:31 pm

точно!

Post Reply