Submit Your Article Forum Rules

Results 1 to 5 of 5

Thread: Web pages in German

  1. #1
    Junior Member
    Join Date
    Jul 2003
    Posts
    2

    Web pages in German

    Is there someone that could help me with this?

    I use FrontPage to edit pages in languages other than English. On this German page, http://www.abacoproperty4sale.com/deutsch.html the first line in the source code is <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html4.0/loose.dtd">

    I have no idea what the purpose of this line is, and was wondering if this line of code is necessary? If it is necessary, does the 'EN' refer to English, and should it be changed?

    Thanks in advance,
    Dave Allison

  2. #2
    WebProWorld MVP minstrel's Avatar
    Join Date
    Jul 2003
    Location
    Ottawa, Canada
    Posts
    2,553

    Re: Web pages in German

    Quote Originally Posted by dallison
    On this German page, the first line in the source code is <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN""http://www.w3.org/TR/REC-html4.0/loose.dtd">

    I have no idea what the purpose of this line is, and was wondering if this line of code is necessary? If it is necessary, does the 'EN' refer to English, and should it be changed?
    It is helpful if not necessary to ensure that your pages are rendered correctly - the line identifies which version of HMTL specifications should be applied. The "EN" does indeed mean "English" but no it should NOT be changed - it refers to the language of the HTML, not to the language of the text on the page. For further information about this, see HTML Version Information.

    On the other hand, you can also specifiy the language of the text on your page: see Language Information.

    For instance, if characters from the Greek alphabet appear in the midst of English text:



    <Q lang="en">Her super-powers were the result of
    &gamma;-radiation,</Q> he explained.</P>

    a user agent (1) should try to render the English content in an appropriate manner (e.g., in its handling the quotation marks) and (2) must make a best attempt to render γ even though it is not an English character.
    The code for German would be "de".

  3. #3
    Junior Member
    Join Date
    Jul 2003
    Posts
    2
    David,
    Thanks for reply. It makes sense now.
    Cheers from Brockville,
    Dave :-)

  4. #4
    Senior Member cooper's Avatar
    Join Date
    Jul 2003
    Posts
    132

    More helpful Doctype links

    Hi dallison,
    Minstrel has it pretty much nailed, I just thought I'd put in my 2¢. I know that the W3C pages can be a bit too technical without a lot of why and how for the average human that requires reasons for these things.

    So here is another helpful link about DocType declarations...

    From the ALA site:
    http://alistapart.com/articles/doctype/
    and translated into German:
    http://puredesign.ch/lounge/artikel/doctype.shtml

    I hope that's helpful. I also recommend Jeffrey Zeldman's book to anyone.

  5. #5
    Administrator weegillis's Avatar
    Join Date
    Oct 2003
    Posts
    5,826

    Document Type Declarations

    and if you missed this W3C page,

    21 Document Type Definition

Similar Threads

  1. Need a German Accent. Help!
    By jawn_tech in forum The Castle Breakroom (General: Any Topic)
    Replies: 3
    Last Post: 05-05-2008, 03:05 AM
  2. German SEO Forums Launched
    By WPW_Feedbot in forum Search Engine Optimization Forum
    Replies: 0
    Last Post: 12-23-2005, 11:00 AM
  3. Yahoo German
    By amar in forum Yahoo! Discussion Forum
    Replies: 0
    Last Post: 10-18-2005, 11:28 PM
  4. German SEO Contest Announced
    By WPW_Feedbot in forum Search Engine Optimization Forum
    Replies: 0
    Last Post: 04-18-2005, 01:00 PM
  5. The German Greens Don't Like Google, Either
    By WPW_Feedbot in forum Search Engine Optimization Forum
    Replies: 0
    Last Post: 04-05-2005, 01:30 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •