الموضوع: مشكلة بال validator
عرض مشاركة مفردة
 
  #1  
قديم 05-07-2010, 03:54 AM
des4free des4free غير متصل
عضو
 
تاريخ التسجيل: Jun 2010
مشاركة: 5
مستوى تقييم العضوية: 0
des4free is on a distinguished road
الافتراضي مشكلة بال validator

السلام عليكم ورحمة الله وبركاته

المشكله انه عندما اقوم بعمل فحص اى اساتايل اقوم بتصميمه تظهر لى ثلاثة اخطاء مش عارف فين الخطأ بالظبط والاخطاء كما هى فى موقع
كود:
http://validator.w3.org/
إقتباس:

Validation Output: 3 Errors

  1. Line 647, Column 4: "DOCTYPE" declaration not allowed in instance <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. Line 649, Column 77: document type does not allow element "html" here <html xmlns="http://www.w3.org/1999/xhtml" dir="rtl" lang="ar" xml:lang="ar">
    The element named above was found in a context where it is not allowed. This could mean that you have incorrectly nested elements -- such as a "style" element in the "body" section instead of inside "head" -- or two elements that overlap (which is not allowed).
    One common cause for this error is the use of XHTML syntax in HTML documents. Due to HTML's rules of implicitly closed elements, this error can create cascading effects. For instance, using XHTML's "self-closing" tags for "meta" and "link" in the "head" section of a HTML document may cause the parser to infer the end of the "head" section and the beginning of the "body" section (where "link" and "meta" are not allowed; hence the reported error).
  3. Line 647, Column 2: StartTag: invalid element name <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"