Language tag

Discussion in 'HTML & Website Design' started by satishtalim, Jun 11, 2007.

  1. #1
    I am developing a website that has all its content in French. Do I have to use the following tags (in bold) as shown?

    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//[B]FR[/B]" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="[B]fr[/B]" lang="[B]fr[/B]">
    Code (markup):

     
    satishtalim, Jun 11, 2007 IP
  2. Thibaut

    Thibaut Well-Known Member

    Messages:
    886
    Likes Received:
    26
    Best Answers:
    0
    Trophy Points:
    140
    #2
    Hello,

    Simply use the following tags:
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" lang="fr">
    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1" />
    <meta http-equiv="content-language" content="fr" />

    Regards
    Thibaut
     
    Thibaut, Jun 12, 2007 IP
  3. blefleur

    blefleur Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    You're correct. Thibaut forgot to change the "EN" to "FR" after the "STRICT//"
     
    blefleur, Jun 12, 2007 IP
  4. satishtalim

    satishtalim Peon

    Messages:
    440
    Likes Received:
    25
    Best Answers:
    0
    Trophy Points:
    0
    #4
    If you see this link, it says:
    So do we use EN or FR?
     
    satishtalim, Jun 12, 2007 IP