What is the difference please

Discussion in 'XHTML/HTML/CSS' started by route66, Jan 21, 2008.

Thread Status:
Not open for further replies.
  1. route66 New Member

    Member Since:
    Jan 30, 2007
    Message Count:
    84
    Likes Received:
    0
    Please can someone explain what is the difference between html and xhtml?
    Also which is the best to use in which situation?
    Thanks
  2. Kalina TriPHP Contributor

    Member Since:
    Aug 22, 2007
    Message Count:
    116
    Likes Received:
    2
    Occupation:
    Web Designer
    Location:
    Canada
  3. T.I.P New Member

    Member Since:
    Feb 14, 2008
    Message Count:
    5
    Likes Received:
    0
    Xtml is more modern and better. Have more choices :blink:
  4. ST-Mike TriPHP Contributor

    Member Since:
    Oct 18, 2007
    Message Count:
    387
    Likes Received:
    13
    Location:
    Liverpool, UK
    IMO, after reading up on them first of course, you should always choose XHTML out of the two these days!
  5. pankajlot New Member

    Member Since:
    Apr 1, 2008
    Message Count:
    9
    Likes Received:
    0
    They both are exactly the same, the only difference between them is x, i don't think there is any other difference there.
  6. Alan New Member

    Member Since:
    Mar 25, 2008
    Message Count:
    188
    Likes Received:
    6
    Occupation:
    IT Lecturer and IT Consultant
    Location:
    Ayr, Scotland
    No they are not the same. HTML is more tolerant of errors. For the definitive guide check the standards at W3C.

    The XHTML homepage defines HTML as;
    and XHTML as:
    For new websites I would reccommend using XHTML without a doubt, indeed I always use the STRICT version as opposed to the transitional, this is less tolerant of errors and relies upon good use of CSS.
Thread Status:
Not open for further replies.

Share This Page