meta tag - charset?

Discussion in 'HTML & Website Design' started by mmelen, Nov 26, 2007.

  1. #1
    What's charset in the metatag?
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

    What should I put there? What's the standard for PHP files?
    and does content="text/php... make sense?
     
    mmelen, Nov 26, 2007 IP
  2. clinton

    clinton Well-Known Member

    Messages:
    2,166
    Likes Received:
    44
    Best Answers:
    0
    Trophy Points:
    110
    #2
    no just, text/html, because php parses into html. I like to use UTF-8 for mine but it depends what your really doing. UTF-8 is more for many different lanuages and flexibility as far as I understand. iso-8859-1 is more of a western encoding and is a little more strict.
     
    clinton, Nov 26, 2007 IP
  3. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    436
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Dan Schulz, Nov 26, 2007 IP
  4. linksr4u

    linksr4u Banned

    Messages:
    179
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    get it all for free at Widexl best site for meta tag
     
    linksr4u, Nov 27, 2007 IP
  5. joebert

    joebert Well-Known Member

    Messages:
    2,150
    Likes Received:
    88
    Best Answers:
    0
    Trophy Points:
    145
    #5
    Great article Dan.
    It even covered the META VS HTTP-headers stuff I'd been wondering about.
     
    joebert, Nov 27, 2007 IP