SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: What is this?

  1. #1
    SitePoint Member
    Join Date
    Aug 2006
    Posts
    22
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    What is this?

    I have been looking around to find what this means

    what is <meta http-equiv="Content-Type" content="text/html;charset=utf-8">

    Must I include a DOCTYPE to go with above or not. I am trying out Flux 3 with Coda. Please advise me

  2. #2
    Robert Wellock silver trophybronze trophy xhtmlcoder's Avatar
    Join Date
    Apr 2002
    Location
    A Maze of Twisty Little Passages
    Posts
    6,316
    Mentioned
    60 Post(s)
    Tagged
    0 Thread(s)
    It depends upon what you are planning on writing; I assume HTML 4.01 and that META http is defining a character encoding of UTF-8. Obviously character encoding is mandatory but there are various ways to achieve it. If you are writing valid HTML 4.01 then using a DOCTYPE is sensible.

  3. #3
    SitePoint Enthusiast
    Join Date
    Jul 2010
    Posts
    93
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Its the old way of telling the browser you're using UTF8

    And yes, use a doctype whatever version of HTML your using. It stops IE from slipping to quirks mode

  4. #4
    SitePoint Member
    Join Date
    Mar 2011
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    meta tag is used to give information
    the above meta tag tells the browser that the type of the content on the webpage is
    text/html and its charset is utf-8
    As stated above use doctype to make declarations about the web document


Bookmarks

Posting Permissions

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