ارسال موضوع  ارسال پاسخ 
 
رتبه موضوع:
  • 0 رای - 0 میانگین
  • 1
  • 2
  • 3
  • 4
  • 5
پیغام خطای validator ؟
نویسنده پیام
hajmohammad آفلاین
Amateur Web Designer
*****

ارسال‌ها: 2,450
Likes Given: 18
Likes Received: 7 in 6 posts
تاریخ عضویت: ۲۹ فروردین ۱۳۸۶
ارسال: #1
پیغام خطای validator ؟
[align=right]یکی از دوستان یه صفحه طراحی کرده و با validator چک کرده و میگه این ارور رو میده .
من خیلی کار نکردم . دلیلش چیه ؟
کد:
Potential Issues

The following missing or conflicting information caused the validator to perform guesswork prior to validation. If the guess or fallback is incorrect, it may make validation results entirely incoherent. It is highly recommended to check these potential issues, and, if necessary, fix them and re-validate the document.

Unable to Determine Parse Mode!

The validator can process documents either as XML (for document types such as XHTML, SVG, etc.) or SGML (for HTML 4.01 and prior versions). For this document, the information available was not sufficient to determine the parsing mode unambiguously, because:
the MIME Media Type (text/html) can be used for XML or SGML document types
No known Document Type could be detected
No XML declaration (e.g <?xml version="1.0"?>) could be found at the beginning of the document.
No XML namespace (e.g <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">) could be found at the root of the document.

As a default, the validator is falling back to SGML mode.

No DOCTYPE found! Checking with default HTML 4.01 Transitional Document Type.

No DOCTYPE Declaration could be found or recognized in this document. This generally means that the document is not declaring its Document Type at the top. It can also mean that the DOCTYPE declaration contains a spelling error, or that it is not using the correct syntax.

The document was checked using a default "fallback" Document Type Definition that closely resembles “HTML 4.01 Transitional”.  

Learn how to add a doctype to your document from our FAQ
[/align]
۸ مهر ۱۳۸۷ ۰۲:۲۸ عصر
مشاهده سایت کاربر یافتن تمامی ارسال‌های این کاربر Like Post نقل قول این ارسال در پاسخ
hajagha آفلاین
Posting Freak
*****

ارسال‌ها: 2,841
Likes Given: 0
Likes Received: 3 in 3 posts
تاریخ عضویت: ۸ تیر ۱۳۸۶
ارسال: #2
پیغام خطای validator ؟
هر صفحه برای اینکه مشخص شود که معتبر است یا نه، باید مشخص باشد که از چه نوع سندی و تحت چه مقرراتی اون صفحه را ساخته است است.
الان مشکل این دوست شما این است که DOCTYPE را مشخص نکرده است.
در این تاپیک توضیحاتی درباره DOCTYPE داده شده است.

[تصویر: mtfs3.gif][COLOR=Red]
[/COLOR]طراحی وب || میزبانی وب || لینک مستقیم دانلود فیلم || وبلاگ [COLOR=Red]
[/COLOR]
۹ مهر ۱۳۸۷ ۱۰:۲۷ صبح
یافتن تمامی ارسال‌های این کاربر Like Post نقل قول این ارسال در پاسخ
ارسال موضوع  ارسال پاسخ 


پرش در انجمن: