النتائج 1 إلى 7 من 7

الموضوع: ساعدوني كيف أحل أخطاء الصفحة من موقع validator.w3.org

  1. #1
    عضو نشيط
    تاريخ التسجيل
    Jan 2008
    المشاركات
    52

    ساعدوني كيف أحل أخطاء الصفحة من موقع validator.w3.org



    لدي مشكله
    قمت بمحاوله لتصحيح ثيم منتدى وقد ظهرت لي أخطاء عديده ولم أستطع فهمها مثلاً
    يظهر
    Line 2, Column 1: Missing xmlns attribute for element html. The value should be: http://www.w3.org/1999/xhtml.

    <html dir="rtl" lang="ar">



    Many Document Types based on XML need a mandatory xmlns="" on the root element. For example, the root element for XHTML will look like:
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">

    كيف يمكن تعديل هذا الخطأ بينما انا ارغب بإستخدام اللغه العربية والإتجاه إلى اليمين والتصحيح يخبرني بأنه يجب ان يكون إلى اليسار باللغه الإنجليزيه ؟!
    مالحل !

    ___________________________
    ايضاً هذا الخطأ لم استطع فهمه او تصحيحه
    Line 424, Column 47: document type does not allow element "td" here.

    <td class="alt2" valign="top" nowrap="nowrap">



    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).

    ___________________________
    ايضاً
    Line 470, Column 22: document type does not allow element "style" here.

    <style type="text/css">



    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).

    لم استوعب !؟ اين اضعه
    ________________________________________
    بقية الأخطاء كلها هكذا

    Line 550, Column 54: reference to entity "threadid" for which no system identifier could be generated.

    …ocalhost/vb/showthread.php?=&threadid=2&goto=newpost" title="ffffffffff" targ



    This is usually a cascading error caused by a an undefined entity reference or use of an unencoded ampersand (&) in an URL or body text. See the previous message for further details.

    ماذا تعني ؟

    شكراً لكم





    __________________
    شكراً سوالف سوفت ,,


  2. #2
    عضو نشيط
    تاريخ التسجيل
    Jan 2008
    المشاركات
    52


    لقد قمت بتصميمه بدقه ولم اعتقد ان هناك أي خطأ
    ولكن بعد تركيبي للهاكات بدأت الأخطاء بالظهور
    ما الحل ؟!





    التعديل الأخير تم بواسطة smart mind ; 24-05-2008 الساعة 07:46 PM
    __________________
    شكراً سوالف سوفت ,,



  3. <style type="text/css">
    هذا الخطأ في اعتقادي انه ممنوع تضع هذا الوسم في الـbody لازم يكون في الهيدر


    <html dir="rtl" lang="ar">
    جرب تضع هذي الخصائص في الوسم body عن طريق اضافتها ضمن ملف الستايل تحت وسم body كهذا

    body {
    direction:rtl;
    }
    ووضع الوسم
    <body lang="ar">

    مجرد اعتقادات وعلمني بالنتائج





    __________________
    ownersınnı
    ALdiraZi BLoOoG | Contact Me | lt.tl - shorten your URL

  4. #4


    رابط الموقع عزيزي او الصفحه التي تود فحصها





    __________________
    منتدى مجاني و برامج مجانية • بوابة مركزي • تابعني عّ تويتر



  5. السلام عليكم
    من الأفضل ان تعطينا الصفحة المطلوبة

    بخصوص الخطأ :
    <style type="text/css">

    فيجب أن يكون في الوسم head وليس في مكان آخر .
    تحياتي لك .






    __________________
    كل مالا يعطى يضيع

  6. #6
    عضو جديد
    تاريخ التسجيل
    Jun 2003
    المشاركات
    25


    السلام عليكم

    اخي العزيز اول خطأ متواجد هو وجوب إضافة خاصية (attribute) تدعى xmlns و هو إختصار (XML NameSpace) و يجب ان تحتوى هذه الخاصية على القيمة XHTML namespace طالما ان نوع المستند المستعمل هو XHTML Transitional (او اي نوع مستند آخر يكون من أنواع XHTML و ليس من انواع HTML) هذه الخاصية يجب ان تتواجد داخل العنصر html

    كود:
    <html xmlns="http://www.w3.org/1999.xhtml" dir="rtl" lang="ar">
    ربما فقط لم تلاحظ انه يريد تنبيهك لوجوب استخدام هذه الخاصية حيث وضع لك العنصر html و بداخله الخاصية xmlns و الإعدادات الإفتراضية التي يستخدمها اي موقع اجنبي (بالطبع هو لا يعرف انك تعمل على موقع عربي، لأن هذا عبارة عن برنامج يا عزيزي )


    لا اجد الوقت الكافي للرد على بقية النقاط، سأحاول إيجاد اي وقت فراغ خلال الساعات المقبلة و ارد على بقية النقاط، الأمر سهل جداً، و لكني لا اجد الوقت الكافي.

    نصيحة اخوية جداً: اذا كان بإمكانك تحسين مستواك في اللغة الإنجليزية فقم بذلك فوراً، سيفيدك هذا مستقبلاً اذا احببت ان تكون مصمم يعتمد على المعايير القياسية.






  7. #7
    عضو شرف
    تاريخ التسجيل
    Mar 2003
    المشاركات
    1,899


    تصحيح اخطاءك بالترتيب

    كود:
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ar" lang="ar" dir="rtl">
    كود:
    <td class="alt2" style="vertical-align:top;" nowrap="nowrap">
    كود:
    <style type="text/css">
    وسم style يجب وضعه بين وسم head

    ocalhost/vb/showthread.php?=&threadid=2&goto=newpost" title="ffffffffff"

    عليك بتغيير اي & موجوده بالوصلات الى

    كود:
    &amp;
    اي يصبح شكل الوصله السابقه هكذا

    كود:
    ocalhost/vb/showthread.php?=&amp;threadid=2&amp;goto=newpost" title="ffffffffff"






    __________________
    محلل لنظم المعلومات - ارسل لي رساله خاصه عبر المنتدى | join me on facebook / twitter
    php | flash&flex&air actionscript 2,3 | ajax&javascript | database pro Analyzer





ضوابط المشاركة

  • لا تستطيع إضافة مواضيع جديدة
  • لا تستطيع الرد على المواضيع
  • لا تستطيع إرفاق ملفات
  • لا تستطيع تعديل مشاركاتك
  •  

أضف موقعك هنا| اخبار السيارات | حراج | شقق للايجار في الكويت | بيوت للبيع في الكويت | دليل الكويت العقاري | مقروء | شركة كشف تسربات المياه | شركة عزل اسطح بالرياض | عزل فوم بالرياض| عزل اسطح بالرياض | كشف تسربات المياة بالرياض | شركة عزل اسطح بالرياض