Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 2 of 2
  1. #1
    Senior Member justlivyalife's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham, UK
    Posts
    2,871
    Member #
    2374
    I've just run my site through the xhtml validator, and I get the following errors, can anyone help me?

    Code:
    Line 2, column 2: DTDs other than base allowed only if CONCUR YES or EXPLICIT YES 
      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
        ^
    Line 2, column 62: no system id specified 
      ...PE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
                                                                ^
    Line 2, column 62: cannot generate system identifier for public text "-
    //W3C//DTD HTML 4.01 Transitional//EN" 
      ...PE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
                                                                ^
    Line 2, column 62: reference to entity "HTML" for which no system identifier could be generated 
      ...PE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
                                                                ^
    Line 2, column 0: entity was defined here 
      <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
      ^
    Line 2, column 62: DTD did not contain element declaration for document type name 
      ...PE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
                                                                ^
    I think I've messed up the layout, sorry. the coding of the first lines of my website are as follows:
    Code:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
     <head>
      <title>Lichfield District Explorers</title>
      <link rel="stylesheet" href="style.css" type="text/css" />
    	<meta http-equiv="Content-Type" content="text/html; charset=windows-1252" />
    	<meta http-equiv="Content-Style-Type" content="text/css" />
     </head>
    justlivyalife - The future depends on what we do in the present. (Mahatma Gandhi)
    WDF Resources: WDF Rules
    Non-WDF: JavascriptSource | Dynamic Drive | phpBB | HTML-Kit | Winamp | Download Firefox | Morguefile

  2.  

  3. #2
    Senior Member justlivyalife's Avatar
    Join Date
    Jul 2003
    Location
    Birmingham, UK
    Posts
    2,871
    Member #
    2374
    Problem fixed, I shouldn't ahve included the second line of code: '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'!
    justlivyalife - The future depends on what we do in the present. (Mahatma Gandhi)
    WDF Resources: WDF Rules
    Non-WDF: JavascriptSource | Dynamic Drive | phpBB | HTML-Kit | Winamp | Download Firefox | Morguefile


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 12:00 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com